diff options
author | Pierre Rochard <pierre@rochard.org> | 2018-06-15 19:02:52 -0400 |
---|---|---|
committer | Pierre Rochard <pierre@rochard.org> | 2018-08-02 12:09:39 -0400 |
commit | 909f54c80abb7195c2e82c6e06c414f4526a339e (patch) | |
tree | d0bb2bf8350d71c611da2b21b96870285d8351fe /src/wallet/feebumper.cpp | |
parent | 1ef57a96b8b7255bd1f1ea0583846f18305419bf (diff) |
[wallet] Add wallet name to log messages
After multiple wallets became supported, wallet-related log messages
became ambiguous as to which wallet they were being emitted by.
fixes #11317
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r-- | src/wallet/feebumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index 0eb85a6e5c..97ec5e073c 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -195,7 +195,7 @@ Result CreateTransaction(const CWallet* wallet, const uint256& txid, const CCoin // If the output would become dust, discard it (converting the dust to fee) poutput->nValue -= nDelta; if (poutput->nValue <= GetDustThreshold(*poutput, GetDiscardRate(*wallet, ::feeEstimator))) { - LogPrint(BCLog::RPC, "Bumping fee and discarding dust output\n"); + wallet->WalletLogPrintf("Bumping fee and discarding dust output\n"); new_fee += poutput->nValue; mtx.vout.erase(mtx.vout.begin() + nOutput); } |