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