diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-09-18 10:59:31 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-09-18 10:59:31 -0400 |
commit | a0971337d0ce2451e576d51643e869d0cb931292 (patch) | |
tree | c45e4c577b7f3847c27a7c7314e481bca93b50de /src/rpcwallet.cpp | |
parent | 5add0b0d0ff56774ca4716240a615175d79e82ec (diff) | |
parent | da7b8c1260d91e3306eb18dd65633567cb31332f (diff) |
Merge branch 'refactor_times' of git://github.com/luke-jr/bitcoin
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r-- | src/rpcwallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 929dde9c15..3d0d05de84 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -573,7 +573,7 @@ Value movecmd(const Array& params, bool fHelp) // Debit CAccountingEntry debit; - debit.nOrderPos = pwalletMain->nOrderPosNext++; + debit.nOrderPos = pwalletMain->IncOrderPosNext(); debit.strAccount = strFrom; debit.nCreditDebit = -nAmount; debit.nTime = nNow; @@ -583,7 +583,7 @@ Value movecmd(const Array& params, bool fHelp) // Credit CAccountingEntry credit; - credit.nOrderPos = pwalletMain->nOrderPosNext++; + credit.nOrderPos = pwalletMain->IncOrderPosNext(); credit.strAccount = strTo; credit.nCreditDebit = nAmount; credit.nTime = nNow; |