mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-05 02:28:11 +02:00
lnd: WalletBalance checks on account basis
This commit is contained in:
parent
442f1ac4d4
commit
dd2a89a6ee
@ -3194,7 +3194,7 @@ func (r *rpcServer) WalletBalance(ctx context.Context,
|
||||
|
||||
// Retrieve all existing wallet accounts. We'll compute the confirmed
|
||||
// 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 {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user