CLI/API improvements

This commit is contained in:
Aayush Rajasekaran
2020-07-13 01:13:56 -04:00
parent 39d609a661
commit 1a5c20ca75
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ type FullNode interface {
WalletNew(context.Context, crypto.SigType) (address.Address, error)
// WalletHas indicates whether the given address is in the wallet.
WalletHas(context.Context, address.Address) (bool, error)
// WalletHas indicates whether the given address is in the wallet.
// WalletList lists all the addresses in the wallet.
WalletList(context.Context) ([]address.Address, error)
// WalletBalance returns the balance of the given address at the current head of the chain.
WalletBalance(context.Context, address.Address) (types.BigInt, error)