mirror of https://github.com/ethereum/go-ethereum
common/types: add `Address.Big` (#26132)
Many of the other types have a function to convert the type to a big.Int, but Address was missing this function. It is useful to be able to turn an Address into a big.Int when doing EVM-like computations natively in Go. Sometimes a Solidity address type is casted to a uint256 and having a Big method on the Address type makes this easy.pull/26139/head
parent
4cb1fca43d
commit
a609e7b81f
Loading…
Reference in new issue