core/types: remove header accessors
These accessors were introduced by light client changes, but the only method that is actually used is GetNumberU64. This commit replaces all uses of .GetNumberU64 with .Number.Uint64.
Showing
- core/database_util.go 6 additions, 6 deletionscore/database_util.go
- core/types/block.go 0 additions, 9 deletionscore/types/block.go
- eth/filters/filter_system.go 2 additions, 2 deletionseth/filters/filter_system.go
- eth/gasprice/lightprice.go 1 addition, 1 deletioneth/gasprice/lightprice.go
- les/fetcher.go 2 additions, 2 deletionsles/fetcher.go
- les/odr_test.go 1 addition, 1 deletionles/odr_test.go
- les/request_test.go 2 additions, 2 deletionsles/request_test.go
- les/server.go 2 additions, 2 deletionsles/server.go
- light/lightchain_test.go 1 addition, 1 deletionlight/lightchain_test.go
- light/odr_test.go 1 addition, 1 deletionlight/odr_test.go
- light/txpool.go 7 additions, 7 deletionslight/txpool.go
- light/vm_env.go 1 addition, 1 deletionlight/vm_env.go
Loading
Please register or sign in to comment