mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 18:47:36 -07:00
node_rpc_proxy: init some new rpc payment fields in invalidate
The cache time would take care of these, but it's cleaner that way Coverity 205412
This commit is contained in:
parent
d0faae2a92
commit
054b2621b1
@ -78,6 +78,10 @@ void NodeRPCProxy::invalidate()
|
|||||||
m_rpc_payment_seed_hash = crypto::null_hash;
|
m_rpc_payment_seed_hash = crypto::null_hash;
|
||||||
m_rpc_payment_next_seed_hash = crypto::null_hash;
|
m_rpc_payment_next_seed_hash = crypto::null_hash;
|
||||||
m_height_time = 0;
|
m_height_time = 0;
|
||||||
|
m_rpc_payment_diff = 0;
|
||||||
|
m_rpc_payment_credits_per_hash_found = 0;
|
||||||
|
m_rpc_payment_height = 0;
|
||||||
|
m_rpc_payment_cookie = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::optional<std::string> NodeRPCProxy::get_rpc_version(uint32_t &rpc_version)
|
boost::optional<std::string> NodeRPCProxy::get_rpc_version(uint32_t &rpc_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user