diff options
| author | Mark Friedenbach <[email protected]> | 2014-04-22 15:46:19 -0700 |
|---|---|---|
| committer | Mark Friedenbach <[email protected]> | 2014-09-26 15:42:04 -0700 |
| commit | a372168e77a8a195613a02983f2589252698bf0f (patch) | |
| tree | b300a5f7aa007645c6ba2bd708e7a962fab2894b /src/walletdb.h | |
| parent | Merge pull request #4986 (diff) | |
| download | discoin-a372168e77a8a195613a02983f2589252698bf0f.tar.xz discoin-a372168e77a8a195613a02983f2589252698bf0f.zip | |
Use a typedef for monetary values
Diffstat (limited to 'src/walletdb.h')
| -rw-r--r-- | src/walletdb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/walletdb.h b/src/walletdb.h index 2c5b608f3..f3d6e61f8 100644 --- a/src/walletdb.h +++ b/src/walletdb.h @@ -6,6 +6,7 @@ #ifndef BITCOIN_WALLETDB_H #define BITCOIN_WALLETDB_H +#include "amount.h" #include "db.h" #include "key.h" #include "keystore.h" @@ -118,7 +119,7 @@ public: bool EraseDestData(const std::string &address, const std::string &key); bool WriteAccountingEntry(const CAccountingEntry& acentry); - int64_t GetAccountCreditDebit(const std::string& strAccount); + CAmount GetAccountCreditDebit(const std::string& strAccount); void ListAccountCreditDebit(const std::string& strAccount, std::list<CAccountingEntry>& acentries); DBErrors ReorderTransactions(CWallet* pwallet); |