mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Remove broken option to skip input checking for wallet txn.
This commit is contained in:
parent
d1020b780a
commit
b1f15b218b
5 changed files with 15 additions and 16 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue