lnd: WalletBalance checks on account basis

This commit is contained in:
Slyghtning committed 2023-07-28 22:24:55 +02:00
1 parent 442f1ac4d4
commit dd2a89a6ee
1 file changed
+1 -1
+1 -1
View File
@@ -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
}