aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-09-18 10:59:31 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-09-18 10:59:31 -0400
commita0971337d0ce2451e576d51643e869d0cb931292 (patch)
treec45e4c577b7f3847c27a7c7314e481bca93b50de /src/test
parent5add0b0d0ff56774ca4716240a615175d79e82ec (diff)
parentda7b8c1260d91e3306eb18dd65633567cb31332f (diff)
Merge branch 'refactor_times' of git://github.com/luke-jr/bitcoin
Diffstat (limited to 'src/test')
-rw-r--r--src/test/accounting_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/accounting_tests.cpp b/src/test/accounting_tests.cpp
index c474fd65c1..8ac657288b 100644
--- a/src/test/accounting_tests.cpp
+++ b/src/test/accounting_tests.cpp
@@ -60,7 +60,7 @@ BOOST_AUTO_TEST_CASE(acc_orderupgrade)
ae.nTime = 1333333330;
ae.strOtherAccount = "d";
- ae.nOrderPos = pwalletMain->nOrderPosNext++;
+ ae.nOrderPos = pwalletMain->IncOrderPosNext();
walletdb.WriteAccountingEntry(ae);
GetResults(walletdb, results);