diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-09-20 16:19:30 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-11-10 17:03:15 -0500 |
commit | 37bdcca3c363cf08ad68e044b493e24e89f2d158 (patch) | |
tree | 3cd231f87723acb010191a6b7581cb592672da13 /src/qt | |
parent | 7c4f0091957d305679546fde592ffa2de2d186fe (diff) | |
download | bitcoin-37bdcca3c363cf08ad68e044b493e24e89f2d158.tar.xz |
[refactor] Make feebumper namespace
Future commit will remove the FeeBumper class. This commit simply places
everything into a feebumper namespace, and changes the enum class name
from BumpeFeeResult to feebumper::Result.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/walletmodel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index d850c5e55b..50d375c8dc 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -666,14 +666,14 @@ bool WalletModel::transactionCanBeBumped(uint256 hash) const bool WalletModel::bumpFee(uint256 hash) { - std::unique_ptr<FeeBumper> feeBump; + std::unique_ptr<feebumper::FeeBumper> feeBump; { CCoinControl coin_control; coin_control.signalRbf = true; LOCK2(cs_main, wallet->cs_wallet); - feeBump.reset(new FeeBumper(wallet, hash, coin_control, 0)); + feeBump.reset(new feebumper::FeeBumper(wallet, hash, coin_control, 0)); } - if (feeBump->getResult() != BumpFeeResult::OK) + if (feeBump->getResult() != feebumper::Result::OK) { QMessageBox::critical(0, tr("Fee bump error"), tr("Increasing transaction fee failed") + "<br />(" + (feeBump->getErrors().size() ? QString::fromStdString(feeBump->getErrors()[0]) : "") +")"); |