mirror of
https://github.com/monero-project/monero.git
synced 2026-01-08 19:31:07 -08:00
rpc: add a do_not_relay boolean to tx submission
Just to make it easier
This commit is contained in:
@@ -383,7 +383,7 @@ namespace cryptonote
|
||||
return true;
|
||||
}
|
||||
|
||||
if(!tvc.m_should_be_relayed)
|
||||
if(!tvc.m_should_be_relayed || req.do_not_relay)
|
||||
{
|
||||
LOG_PRINT_L0("[on_send_raw_tx]: tx accepted, but not relayed");
|
||||
res.reason = "Not relayed";
|
||||
|
||||
Reference in New Issue
Block a user