Skip to content

Commit

Permalink
1545 Fix pull request comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Dec 16, 2024
1 parent f7bb478 commit e26801e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libethereum/ClientBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,13 @@ class ClientBase : public Interface {
std::pair< u256, ExecutionResult > estimateGas( Address const& _from, u256 _value,
Address _dest, bytes const& _data, int64_t _maxGas, u256 _gasPrice,
GasEstimationCallback const& _callback = GasEstimationCallback() ) override;

protected:

std::pair< bool, ExecutionResult > estimateGasStep( int64_t _gas, Block& _latestBlock,
Block& _pendingBlock, Address const& _from, Address const& _destination, u256 const& _value,
u256 const& _gasPrice, bytes const& _data );


protected:
/// The interface that must be implemented in any class deriving this.
/// {
virtual BlockChain& bc() = 0;
Expand Down

0 comments on commit e26801e

Please sign in to comment.