mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
Remove broken option to skip input checking for wallet txn.
This commit is contained in:
@@ -555,7 +555,7 @@ Value sendrawtransaction(const Array& params, bool fHelp)
|
||||
if (!fHave) {
|
||||
// push to local node
|
||||
CValidationState state;
|
||||
if (!mempool.accept(state, tx, true, false, NULL))
|
||||
if (!mempool.accept(state, tx, false, NULL))
|
||||
throw JSONRPCError(RPC_DESERIALIZATION_ERROR, "TX rejected"); // TODO: report validation state
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user