mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi: added documentation
This commit is contained in:
parent
ac9c03f910
commit
1db8225eff
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ var (
|
|||
)
|
||||
|
||||
// U256 converts a big Int into a 256bit EVM number.
|
||||
// This operation is destructive.
|
||||
func U256(n *big.Int) []byte {
|
||||
return math.PaddedBigBytes(math.U256(n), 32)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue