accounts/abi: added documentation

This commit is contained in:
MariusVanDerWijden 2020-02-13 16:46:56 +01:00 committed by Marius van der Wijden
parent ac9c03f910
commit 1db8225eff

View file

@ -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)
}