Browse Source

Merge #9316: [wallet] Disable free transactions when relay is disabled

faf4ca8 [wallet] Disable free transactions when relay is disabled (MarcoFalke)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
3097ea40d7
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      src/wallet/wallet.cpp

3
src/wallet/wallet.cpp

@ -3647,6 +3647,9 @@ bool CWallet::ParameterInteraction()
fSendFreeTransactions = GetBoolArg("-sendfreetransactions", DEFAULT_SEND_FREE_TRANSACTIONS); fSendFreeTransactions = GetBoolArg("-sendfreetransactions", DEFAULT_SEND_FREE_TRANSACTIONS);
fWalletRbf = GetBoolArg("-walletrbf", DEFAULT_WALLET_RBF); fWalletRbf = GetBoolArg("-walletrbf", DEFAULT_WALLET_RBF);
if (fSendFreeTransactions && GetArg("-limitfreerelay", DEFAULT_LIMITFREERELAY) <= 0)
return InitError("Creation of free transactions with their relay disabled is not supported.");
return true; return true;
} }

Loading…
Cancel
Save