File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ func TestMempool(t *testing.T) {
55
55
require .Equal (t , err .Error (), "transaction pool is empty" )
56
56
57
57
// push multiple to empty (1,2,3)
58
- for i := uint64 (1 ); i < 4 ; i ++ { //nolint:dupl
58
+ for i := uint64 (1 ); i < 4 ; i ++ {
59
59
senderAddress := new (felt.Felt ).SetUint64 (i )
60
60
state .EXPECT ().ContractNonce (senderAddress ).Return (& felt .Zero , nil )
61
61
require .NoError (t , pool .Push (& mempool.BroadcastedTransaction {
@@ -130,7 +130,7 @@ func TestRestoreMempool(t *testing.T) {
130
130
require .Equal (t , 0 , pool .Len ())
131
131
132
132
// push multiple transactions to empty mempool (1,2,3)
133
- for i := uint64 (1 ); i < 4 ; i ++ { //nolint:dupl
133
+ for i := uint64 (1 ); i < 4 ; i ++ {
134
134
senderAddress := new (felt.Felt ).SetUint64 (i )
135
135
state .EXPECT ().ContractNonce (senderAddress ).Return (new (felt.Felt ).SetUint64 (0 ), nil )
136
136
require .NoError (t , pool .Push (& mempool.BroadcastedTransaction {
You can’t perform that action at this time.
0 commit comments