diff --git a/core/receipt_pkg_test.go b/core/receipt_pkg_test.go index d5e8dbcac0..77b54fb9c3 100644 --- a/core/receipt_pkg_test.go +++ b/core/receipt_pkg_test.go @@ -26,6 +26,7 @@ func BenchmarkReceiptCommitment(b *testing.B) { receipts := getReceipts(b, 35748) b.ResetTimer() for i := 0; i < b.N; i++ { - core.ReceiptCommitment(receipts) + _, err := core.ReceiptCommitment(receipts) + require.NoError(b, err) } }