diff --git a/src/wallet/test/accounting_tests.cpp b/src/wallet/test/accounting_tests.cpp --- a/src/wallet/test/accounting_tests.cpp +++ b/src/wallet/test/accounting_tests.cpp @@ -34,7 +34,7 @@ LOCK(pwalletMain->cs_wallet); ae.strAccount = ""; - ae.nCreditDebit = 1; + ae.nCreditDebit = Amount(1); ae.nTime = 1333333333; ae.strOtherAccount = "b"; ae.strComment = ""; diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -480,7 +480,7 @@ class CAccountingEntry { public: std::string strAccount; - CAmount nCreditDebit; + Amount nCreditDebit; int64_t nTime; std::string strOtherAccount; std::string strComment;