Skip to content

Commit

Permalink
Fix 2 instances of mismatched logprint specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzbawls committed Nov 29, 2017
1 parent f97b409 commit c191866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn, CWallet* pwallet,

//Check for invalid/fraudulent inputs. They shouldn't make it through mempool, but check anyways.
if (mapInvalidOutPoints.count(txin.prevout)) {
LogPrintf("%s : found invalid input %s in tx %s", __func__, txin.prevout.ToString());
LogPrintf("%s : found invalid input %s in tx %s", __func__, txin.prevout.ToString(), tx.GetHash().ToString());
fMissingInputs = true;
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3772,7 +3772,7 @@ bool CWallet::MultiSend()
CreateTransaction(vecSend, wtxdummy, keyChange, nFeeRet, strErr, cControl, ALL_COINS, false, CAmount(0));
CAmount nLastSendAmount = vecSend[vecSend.size() - 1].second;
if (nLastSendAmount < nFeeRet + 500) {
LogPrintf("%s: fee of %s is too large to insert into last output\n");
LogPrintf("%s: fee of %d is too large to insert into last output\n", __func__, nFeeRet + 500);
return false;
}
vecSend[vecSend.size() - 1].second = nLastSendAmount - nFeeRet - 500;
Expand Down

0 comments on commit c191866

Please sign in to comment.