aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util.go b/tests/util.go
index 78bb06d06..7a08e5ed8 100644
--- a/tests/util.go
+++ b/tests/util.go
@@ -71,7 +71,7 @@ func checkLogs(tlog []Log, logs []*types.Log) error {
}
}
}
- genBloom := common.LeftPadBytes(types.LogsBloom([]*types.Log{logs[i]}).Bytes(), 256)
+ genBloom := math.PaddedBigBytes(types.LogsBloom([]*types.Log{logs[i]}), 256)
if !bytes.Equal(genBloom, common.Hex2Bytes(log.BloomF)) {
return fmt.Errorf("bloom mismatch")