Fix qt build broken by 5a5e4e9

This commit is contained in:
Matt Corallo 2017-11-09 10:43:13 -05:00
parent 99ec12666b
commit 9e9e31aa10

View File

@ -661,7 +661,7 @@ bool WalletModel::transactionCanBeBumped(uint256 hash) const
{ {
LOCK2(cs_main, wallet->cs_wallet); LOCK2(cs_main, wallet->cs_wallet);
const CWalletTx *wtx = wallet->GetWalletTx(hash); const CWalletTx *wtx = wallet->GetWalletTx(hash);
return wtx && SignalsOptInRBF(*wtx) && !wtx->mapValue.count("replaced_by_txid"); return wtx && SignalsOptInRBF(*(wtx->tx)) && !wtx->mapValue.count("replaced_by_txid");
} }
bool WalletModel::bumpFee(uint256 hash) bool WalletModel::bumpFee(uint256 hash)