diff options
| author | Russell Yanofsky <[email protected]> | 2019-07-18 12:06:23 -0400 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2019-07-18 12:06:23 -0400 |
| commit | 4d94916f0dda535cb69b538ee4e3fffb5b033c87 (patch) | |
| tree | 6999cb335efe0785b6635105c6649fa69031ad08 /src/qt/sendcoinsdialog.cpp | |
| parent | Merge #16379: Fix autostart filenames on Linux for testnet/regtest (diff) | |
| download | discoin-4d94916f0dda535cb69b538ee4e3fffb5b033c87.tar.xz discoin-4d94916f0dda535cb69b538ee4e3fffb5b033c87.zip | |
Get rid of PendingWalletTx class.
No reason for this class to exist if it doesn't have any code to run in the
destructor. e10e1e8db043e9b7c113e07faf408f337c1b732d from
https://github.com/bitcoin/bitcoin/pull/16208 recently removed code destructor
code that would return an unused key if the transaction wasn't committed.
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
| -rw-r--r-- | src/qt/sendcoinsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index cb9efe931..193fba78b 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -392,7 +392,7 @@ void SendCoinsDialog::on_sendButton_clicked() accept(); CoinControlDialog::coinControl()->UnSelectAll(); coinControlUpdateLabels(); - Q_EMIT coinsSent(currentTransaction.getWtx()->get().GetHash()); + Q_EMIT coinsSent(currentTransaction.getWtx()->GetHash()); } fNewRecipientAllowed = true; } |