sanity check: change to false #5434

This commit is contained in:
wowario 2019-05-09 22:12:41 +03:00
parent e671b5f89b
commit 44a3b3f22c
4 changed files with 4 additions and 4 deletions

View File

@ -1090,7 +1090,7 @@ namespace cryptonote
{
res.status = "Failed";
res.reason = "Sanity check failed";
res.sanity_check_failed = true;
res.sanity_check_failed = false;
return true;
}
res.sanity_check_failed = false;

View File

@ -569,7 +569,7 @@ namespace cryptonote
KV_SERIALIZE_PARENT(rpc_access_request_base);
KV_SERIALIZE(tx_as_hex)
KV_SERIALIZE_OPT(do_not_relay, false)
KV_SERIALIZE_OPT(do_sanity_checks, true)
KV_SERIALIZE_OPT(do_sanity_checks, false)
END_KV_SERIALIZE_MAP()
};
typedef epee::misc_utils::struct_init<request_t> request;

View File

@ -6297,7 +6297,7 @@ void wallet2::commit_tx(pending_tx& ptx)
COMMAND_RPC_SEND_RAW_TX::request req;
req.tx_as_hex = epee::string_tools::buff_to_hex_nodelimer(tx_to_blob(ptx.tx));
req.do_not_relay = false;
req.do_sanity_checks = true;
req.do_sanity_checks = false;
COMMAND_RPC_SEND_RAW_TX::response daemon_send_resp;
{

View File

@ -52,7 +52,7 @@ class Daemon(object):
return self.rpc.send_json_rpc_request(getblocktemplate)
get_block_template = getblocktemplate
def send_raw_transaction(self, tx_as_hex, do_not_relay = False, do_sanity_checks = True, client = ""):
def send_raw_transaction(self, tx_as_hex, do_not_relay = False, do_sanity_checks = False, client = ""):
send_raw_transaction = {
'client': client,
'tx_as_hex': tx_as_hex,