Rename address.go to wallet.go
This commit is contained in:
parent
70c04fa8ce
commit
24b19381d2
|
@ -37,7 +37,12 @@ func (w Wallet) GetAddress() []byte {
|
||||||
return address
|
return address
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewWallet ...
|
// SaveToFile saves the wallet to a file
|
||||||
|
func (w Wallet) SaveToFile() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewWallet creates and returns a Wallet
|
||||||
func NewWallet() *Wallet {
|
func NewWallet() *Wallet {
|
||||||
private, public := newKeyPair()
|
private, public := newKeyPair()
|
||||||
wallet := Wallet{private, public}
|
wallet := Wallet{private, public}
|
Loading…
Reference in New Issue