aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/packing.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/abi/packing.go')
-rw-r--r--accounts/abi/packing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/packing.go b/accounts/abi/packing.go
index 2a16d3be1..c765dfdf3 100644
--- a/accounts/abi/packing.go
+++ b/accounts/abi/packing.go
@@ -59,7 +59,7 @@ func packElement(t Type, reflectValue reflect.Value) []byte {
reflectValue = mustArrayToByteSlice(reflectValue)
}
- return common.LeftPadBytes(reflectValue.Bytes(), 32)
+ return common.RightPadBytes(reflectValue.Bytes(), 32)
}
panic("abi: fatal error")
}