From 75276bc11179d9e159c4ca0692d393538c699b8a Mon Sep 17 00:00:00 2001 From: georgehao Date: Thu, 18 May 2023 15:51:49 +0800 Subject: [PATCH] feat: update --- bridge/tests/rollup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/tests/rollup_test.go b/bridge/tests/rollup_test.go index 3b5309713..f385b76ca 100644 --- a/bridge/tests/rollup_test.go +++ b/bridge/tests/rollup_test.go @@ -140,7 +140,7 @@ func testCommitBatchAndFinalizeBatch(t *testing.T) { assert.Equal(t, 1, len(blockBatches)) assert.NotNil(t, blockBatches[0].FinalizeTxHash) - finalizeTx, _, err := l1Client.TransactionByHash(context.Background(), common.HexToHash(finalizeTxHash.String)) + finalizeTx, _, err := l1Client.TransactionByHash(context.Background(), common.HexToHash(blockBatches[0].FinalizeTxHash)) assert.NoError(t, err) finalizeTxReceipt, err := bind.WaitMined(context.Background(), l1Client, finalizeTx) assert.NoError(t, err)