diff --git a/adapters/core2p2p/receipt_pkg_test.go b/adapters/core2p2p/receipt_pkg_test.go index 56c8b1c9ce..1a6444bf53 100644 --- a/adapters/core2p2p/receipt_pkg_test.go +++ b/adapters/core2p2p/receipt_pkg_test.go @@ -30,7 +30,7 @@ func TestReceiptCommon(t *testing.T) { for _, receipt := range receipts { r := receiptCommon(receipt) - assert.Equal(t, receipt.Reverted, r) + assert.Equal(t, &receipt.RevertReason, r.RevertReason) } }) }