diff options
| author | Alexander Blair <snipa@jagtech.io> | 2020-08-27 02:55:48 -0700 |
|---|---|---|
| committer | Alexander Blair <snipa@jagtech.io> | 2020-08-27 02:55:48 -0700 |
| commit | 42519b48a7b1540414effc2f939308a66e345a1a (patch) | |
| tree | 7d5ace567ac1b9fbf538299cf8d8a5c212f32c6a /src | |
| parent | bad5d8d6f05826ff1275c0ece08f3b99f6f39840 (diff) | |
| parent | db5d6e460253c3c512d9898b066e5b3d69c12a1e (diff) | |
| download | monzero-core-42519b48a7b1540414effc2f939308a66e345a1a.tar.gz monzero-core-42519b48a7b1540414effc2f939308a66e345a1a.tar.xz monzero-core-42519b48a7b1540414effc2f939308a66e345a1a.zip | |
Merge pull request #6731
db5d6e460 wallet2: fix wrong name when checking RPC cost (moneromooo-monero)
Diffstat (limited to 'src')
| -rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 8ea2d6828..c67565570 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -7551,7 +7551,7 @@ uint32_t wallet2::adjust_priority(uint32_t priority) getbh_req.client = get_client_signature(); bool r = net_utils::invoke_http_json_rpc("/json_rpc", "getblockheadersrange", getbh_req, getbh_res, *m_http_client, rpc_timeout); THROW_ON_RPC_RESPONSE_ERROR(r, {}, getbh_res, "getblockheadersrange", error::get_blocks_error, get_rpc_status(getbh_res.status)); - check_rpc_cost("/sendrawtransaction", getbh_res.credits, pre_call_credits, N * COST_PER_BLOCK_HEADER); + check_rpc_cost("/getblockheadersrange", getbh_res.credits, pre_call_credits, N * COST_PER_BLOCK_HEADER); } if (getbh_res.headers.size() != N) |
