diff options
| author | Karl-Johan Alm <[email protected]> | 2017-05-09 15:46:26 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2017-05-09 15:46:26 +0900 |
| commit | 5a5e4e9cc19e30186ba0a15a1cf892516d419baf (patch) | |
| tree | dd937f14c45ed899f4af1d0c941705e0e10cd38a /src/qt/transactiontablemodel.cpp | |
| parent | Merge #10342: [tests] Improve mempool_persist test (diff) | |
| download | discoin-5a5e4e9cc19e30186ba0a15a1cf892516d419baf.tar.xz discoin-5a5e4e9cc19e30186ba0a15a1cf892516d419baf.zip | |
[wallet] Remove CTransaction&() helper conversion operator from wallet implementation.
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
| -rw-r--r-- | src/qt/transactiontablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 61466c8ed..575591094 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -228,7 +228,7 @@ public: std::map<uint256, CWalletTx>::iterator mi = wallet->mapWallet.find(rec->hash); if(mi != wallet->mapWallet.end()) { - std::string strHex = EncodeHexTx(static_cast<CTransaction>(mi->second)); + std::string strHex = EncodeHexTx(*mi->second.tx); return QString::fromStdString(strHex); } return QString(); |