mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
rpc: properly return satoshis in WalletBalance response
This commit is contained in:
parent
58d3fd9dd8
commit
7c5af4b851
1 changed files with 1 additions and 1 deletions
|
@ -864,7 +864,7 @@ func (r *rpcServer) WalletBalance(ctx context.Context,
|
|||
rpcsLog.Debugf("[walletbalance] balance=%v", balance)
|
||||
|
||||
return &lnrpc.WalletBalanceResponse{
|
||||
Balance: balance.ToBTC(),
|
||||
Balance: int64(balance),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue