aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-09-20 16:19:30 -0400
committerJohn Newbery <john@johnnewbery.com>2017-11-10 17:03:15 -0500
commit37bdcca3c363cf08ad68e044b493e24e89f2d158 (patch)
tree3cd231f87723acb010191a6b7581cb592672da13 /src/qt
parent7c4f0091957d305679546fde592ffa2de2d186fe (diff)
[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.cpp6
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]) : "") +")");