From bfd471f53e14c4218ae7a1544beb7f1de3e695b2 Mon Sep 17 00:00:00 2001 From: gavinandresen Date: Tue, 30 Nov 2010 18:58:11 +0000 Subject: JSON methods: listtransactions, gettransaction, move, sendfrom and getbalance git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@193 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index acfcbc90f..a1865a467 100644 --- a/main.cpp +++ b/main.cpp @@ -3492,7 +3492,7 @@ int64 GetBalance() CWalletTx* pcoin = &(*it).second; if (!pcoin->IsFinal() || pcoin->fSpent || !pcoin->IsConfirmed()) continue; - nTotal += pcoin->GetCredit(true); + nTotal += pcoin->GetCredit(); } } -- cgit v1.2.3