File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ package main
55
66import (
77 "github.com/ethereum/go-ethereum/common"
8+
89 "github.com/offchainlabs/nitro/arbutil"
910)
1011
Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ import (
99 "math/big"
1010 "testing"
1111
12+ "github.com/stretchr/testify/require"
13+
1214 "github.com/ethereum/go-ethereum/common"
1315 "github.com/ethereum/go-ethereum/core/types"
1416 "github.com/ethereum/go-ethereum/crypto"
1517 "github.com/ethereum/go-ethereum/trie"
18+
1619 "github.com/offchainlabs/nitro/arbutil"
17- "github.com/stretchr/testify/require"
1820)
1921
2022func TestFetchReceiptFromBlock_Multiple (t * testing.T ) {
@@ -112,7 +114,7 @@ func createTestReceipts(count int) types.Receipts {
112114 Logs : []* types.Log {},
113115 BlockHash : common .BytesToHash ([]byte ("foobar" )),
114116 BlockNumber : big .NewInt (100 ),
115- TransactionIndex : uint (i ),
117+ TransactionIndex : uint (i ), // #nosec G115
116118 }
117119 receipt .Bloom = types .BytesToBloom (make ([]byte , 256 ))
118120 receipts [i ] = receipt
You can’t perform that action at this time.
0 commit comments