Skip to content

Commit

Permalink
More review
Browse files Browse the repository at this point in the history
  • Loading branch information
gagbo committed Sep 1, 2020
1 parent cad24e0 commit 89159a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ namespace ledger {
}

Future<std::shared_ptr<BigInt>> TezosLikeBlockchainExplorer::getEstimatedGasLimit(
const std::shared_ptr<HttpClient> &_http,
const std::shared_ptr<HttpClient> &http,
const std::shared_ptr<api::ExecutionContext> &context,
const std::shared_ptr<TezosLikeTransactionApi> &tx)
{
Expand All @@ -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<uint8_t>(payload.cbegin(), payload.cend()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ namespace ledger {
const std::shared_ptr<TezosLikeTransactionApi> &tx) = 0;

Future<std::shared_ptr<BigInt>> getEstimatedGasLimit(
const std::shared_ptr<HttpClient> &_http,
const std::shared_ptr<HttpClient> &http,
const std::shared_ptr<api::ExecutionContext> &context,
const std::shared_ptr<TezosLikeTransactionApi> &transaction);

Expand Down

0 comments on commit 89159a4

Please sign in to comment.