eth/gasprice: fix typo in comment (#22998)

This commit is contained in:
haryu703 2021-06-25 19:48:06 +09:00 committed by GitHub
parent 0e6961366a
commit c07918e7d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,7 +155,7 @@ func (gpo *Oracle) SuggestTipCap(ctx context.Context) (*big.Int, error) {
// Nothing returned. There are two special cases here: // Nothing returned. There are two special cases here:
// - The block is empty // - The block is empty
// - All the transactions included are sent by the miner itself. // - All the transactions included are sent by the miner itself.
// In these cases, use the latest calculated price for samping. // In these cases, use the latest calculated price for sampling.
if len(res.values) == 0 { if len(res.values) == 0 {
res.values = []*big.Int{lastPrice} res.values = []*big.Int{lastPrice}
} }