From 24b19381d2ff9323917cf45373f7ef7ec1cf6fcd Mon Sep 17 00:00:00 2001 From: Ivan Kuznetsov Date: Thu, 7 Sep 2017 16:33:17 +0700 Subject: [PATCH] Rename address.go to wallet.go --- address.go => wallet.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename address.go => wallet.go (91%) diff --git a/address.go b/wallet.go similarity index 91% rename from address.go rename to wallet.go index 8c26e3a..e9c3a1b 100644 --- a/address.go +++ b/wallet.go @@ -37,7 +37,12 @@ func (w Wallet) GetAddress() []byte { return address } -// NewWallet ... +// SaveToFile saves the wallet to a file +func (w Wallet) SaveToFile() { + +} + +// NewWallet creates and returns a Wallet func NewWallet() *Wallet { private, public := newKeyPair() wallet := Wallet{private, public}