lnd: WalletBalance checks on account basis
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -3194,7 +3194,7 @@ func (r *rpcServer) WalletBalance(ctx context.Context,
|
|||||||
|
|
||||||
// Retrieve all existing wallet accounts. We'll compute the confirmed
|
// Retrieve all existing wallet accounts. We'll compute the confirmed
|
||||||
// and unconfirmed balance for each and tally them up.
|
// and unconfirmed balance for each and tally them up.
|
||||||
accounts, err := r.server.cc.Wallet.ListAccounts("", nil)
|
accounts, err := r.server.cc.Wallet.ListAccounts(in.Account, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user