rpc: properly return satoshis in WalletBalance response

This commit is contained in:
Olaoluwa Osuntokun committed 2017-07-04 15:51:08 -07:00
1 parent 58d3fd9dd8
commit 7c5af4b851
1 file changed
+1 -1
+1 -1
View File
@@ -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
}