|
|
@ -573,7 +573,7 @@ Value movecmd(const Array& params, bool fHelp) |
|
|
|
|
|
|
|
|
|
|
|
// Debit
|
|
|
|
// Debit
|
|
|
|
CAccountingEntry debit; |
|
|
|
CAccountingEntry debit; |
|
|
|
debit.nOrderPos = pwalletMain->IncOrderPosNext(); |
|
|
|
debit.nOrderPos = pwalletMain->IncOrderPosNext(&walletdb); |
|
|
|
debit.strAccount = strFrom; |
|
|
|
debit.strAccount = strFrom; |
|
|
|
debit.nCreditDebit = -nAmount; |
|
|
|
debit.nCreditDebit = -nAmount; |
|
|
|
debit.nTime = nNow; |
|
|
|
debit.nTime = nNow; |
|
|
@ -583,7 +583,7 @@ Value movecmd(const Array& params, bool fHelp) |
|
|
|
|
|
|
|
|
|
|
|
// Credit
|
|
|
|
// Credit
|
|
|
|
CAccountingEntry credit; |
|
|
|
CAccountingEntry credit; |
|
|
|
credit.nOrderPos = pwalletMain->IncOrderPosNext(); |
|
|
|
credit.nOrderPos = pwalletMain->IncOrderPosNext(&walletdb); |
|
|
|
credit.strAccount = strTo; |
|
|
|
credit.strAccount = strTo; |
|
|
|
credit.nCreditDebit = nAmount; |
|
|
|
credit.nCreditDebit = nAmount; |
|
|
|
credit.nTime = nNow; |
|
|
|
credit.nTime = nNow; |
|
|
|