rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P

This commit is contained in:
xiphon 2020-11-02 15:44:36 +00:00 committed by wowario
parent c14276fb7c
commit 9774fc7868
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -1131,6 +1131,11 @@ namespace cryptonote
{ {
RPC_TRACKER(send_raw_tx); RPC_TRACKER(send_raw_tx);
{
bool ok;
use_bootstrap_daemon_if_necessary<COMMAND_RPC_SEND_RAW_TX>(invoke_http_mode::JON, "/sendrawtransaction", req, res, ok);
}
const bool restricted = m_restricted && ctx; const bool restricted = m_restricted && ctx;
bool skip_validation = false; bool skip_validation = false;