From 98982fbe5fa1b06171c6bf4277ec253ba06dc494 Mon Sep 17 00:00:00 2001 From: Gerry Agbobada Date: Tue, 1 Sep 2020 18:54:56 +0200 Subject: [PATCH] More review --- .../wallet/tezos/explorers/TezosLikeBlockchainExplorer.cpp | 4 ++-- core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.cpp b/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.cpp index 7bc19fa179..bed1b5f411 100644 --- a/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.cpp +++ b/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.cpp @@ -159,7 +159,7 @@ namespace ledger { } Future> TezosLikeBlockchainExplorer::getEstimatedGasLimit( - const std::shared_ptr &_http, + const std::shared_ptr &http, const std::shared_ptr &context, const std::shared_ptr &tx) { @@ -173,7 +173,7 @@ namespace ledger { {"Accept", "application/json"}, {"Content-Type", "application/json"}}; const bool parseNumbersAsString = true; - return _http + return http ->POST( postPath, std::vector(payload.cbegin(), payload.cend()), diff --git a/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.h b/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.h index b82dd064cd..0444a0359b 100644 --- a/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.h +++ b/core/src/wallet/tezos/explorers/TezosLikeBlockchainExplorer.h @@ -131,7 +131,7 @@ namespace ledger { const std::shared_ptr &tx) = 0; Future> getEstimatedGasLimit( - const std::shared_ptr &_http, + const std::shared_ptr &http, const std::shared_ptr &context, const std::shared_ptr &transaction);