aboutsummaryrefslogtreecommitdiffstats
path: root/eth/gasprice/lightprice.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/gasprice/lightprice.go')
-rw-r--r--eth/gasprice/lightprice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/gasprice/lightprice.go b/eth/gasprice/lightprice.go
index ce075ff4e..f6d290bb7 100644
--- a/eth/gasprice/lightprice.go
+++ b/eth/gasprice/lightprice.go
@@ -78,7 +78,7 @@ func (self *LightPriceOracle) SuggestPrice(ctx context.Context) (*big.Int, error
return lastPrice, nil
}
- blockNum := head.GetNumberU64()
+ blockNum := head.Number.Uint64()
chn := make(chan lpResult, LpoMaxBlocks)
sent := 0
exp := 0