Clean decoy selection

This commit is contained in:
Luke Parker
2024-07-08 02:38:01 -04:00
parent d7f7f69738
commit b744ac9a76
2 changed files with 114 additions and 163 deletions

View File

@@ -910,7 +910,10 @@ pub trait Rpc: Sync + Clone + Debug {
}
let res: SendRawResponse = self
.rpc_call("send_raw_transaction", Some(json!({ "tx_as_hex": hex::encode(tx.serialize()) })))
.rpc_call(
"send_raw_transaction",
Some(json!({ "tx_as_hex": hex::encode(tx.serialize()), "do_sanity_checks": false })),
)
.await?;
if res.status != "OK" {