Skip to content

Commit

Permalink
More review
Browse files Browse the repository at this point in the history
  • Loading branch information
gagbo committed Sep 3, 2020
1 parent 0d85a9b commit 98982fb
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 98982fb

Please sign in to comment.