diff options
| author | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:26:12 -0800 |
|---|---|---|
| committer | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:26:13 -0800 |
| commit | 25c1bd4714978d76c1c994d5370f33ea6c507f01 (patch) | |
| tree | be8ec9f760a314159757201abd7bb1023e771793 /src/wallet/node_rpc_proxy.cpp | |
| parent | d7aeb5a9f86442b5ac4464896cc7d8eb2740dadb (diff) | |
| parent | b90c4bc39ee336bf0a0cb6e40876926baf06d1fe (diff) | |
| download | monzero-core-25c1bd4714978d76c1c994d5370f33ea6c507f01.tar.gz monzero-core-25c1bd4714978d76c1c994d5370f33ea6c507f01.tar.xz monzero-core-25c1bd4714978d76c1c994d5370f33ea6c507f01.zip | |
Merge pull request #6035
b90c4bc3 rpc: error out from get_info if the proxied call errors out (moneromooo-monero)
fa16df99 make_test_signature: exit nicely on top level exception (moneromooo-monero)
054b2621 node_rpc_proxy: init some new rpc payment fields in invalidate (moneromooo-monero)
d0faae2a rpc: init a few missing client_info members (moneromooo-monero)
d56a483a rpc: do not propagate exceptions out of a dtor (moneromooo-monero)
3c849188 rpc: always set the update field in update on sucess (moneromooo-monero)
Diffstat (limited to 'src/wallet/node_rpc_proxy.cpp')
| -rw-r--r-- | src/wallet/node_rpc_proxy.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/node_rpc_proxy.cpp b/src/wallet/node_rpc_proxy.cpp index 005b0bafa..f3698b599 100644 --- a/src/wallet/node_rpc_proxy.cpp +++ b/src/wallet/node_rpc_proxy.cpp @@ -78,6 +78,10 @@ void NodeRPCProxy::invalidate() m_rpc_payment_seed_hash = crypto::null_hash; m_rpc_payment_next_seed_hash = crypto::null_hash; 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) |
