@@ -47,10 +47,10 @@ func TestMetaErrorHandler(t *testing.T) {
4747 _ , err = txStore .AppendAttemptToTransaction (* tx .Nonce , attempt )
4848 require .NoError (t , err )
4949 tx , _ = txStore .FetchUnconfirmedTransactionAtNonceWithCount (nonce )
50- noTransmission , err := errorHandler .HandleError (t .Context (), lggr , tx , ErrNoBids , txStoreManager , setNonce , false )
50+ noTransmission , err := errorHandler .HandleError (t .Context (), lggr , tx , ErrNoBids , txStoreManager , setNonce )
5151 require .NoError (t , err )
5252 require .True (t , noTransmission )
53- tests .AssertLogEventually (t , observedLogs , "transaction with txID: 0 marked as fatal" )
53+ tests .AssertLogEventually (t , observedLogs , "transaction marked as fatal" )
5454 _ , unconfirmedCount := txStore .FetchUnconfirmedTransactionAtNonceWithCount (nonce )
5555 assert .Equal (t , 0 , unconfirmedCount )
5656 })
@@ -82,7 +82,7 @@ func TestMetaErrorHandler(t *testing.T) {
8282 _ , err = txStore .AppendAttemptToTransaction (* tx .Nonce , attempt )
8383 require .NoError (t , err )
8484 tx , _ = txStore .FetchUnconfirmedTransactionAtNonceWithCount (nonce )
85- noTransmission , err := errorHandler .HandleError (t .Context (), logger .Test (t ), tx , txErr , txStoreManager , setNonce , false )
85+ noTransmission , err := errorHandler .HandleError (t .Context (), logger .Test (t ), tx , txErr , txStoreManager , setNonce )
8686 require .NoError (t , err )
8787 require .False (t , noTransmission )
8888 _ , unconfirmedCount := txStore .FetchUnconfirmedTransactionAtNonceWithCount (nonce )
@@ -115,10 +115,10 @@ func TestMetaErrorHandler(t *testing.T) {
115115 _ , err = txStore .AppendAttemptToTransaction (* tx .Nonce , attempt )
116116 require .NoError (t , err )
117117 tx , _ = txStore .FetchUnconfirmedTransactionAtNonceWithCount (nonce )
118- noTransmission , err := errorHandler .HandleError (t .Context (), lggr , tx , txErr , txStoreManager , setNonce , false )
118+ noTransmission , err := errorHandler .HandleError (t .Context (), lggr , tx , txErr , txStoreManager , setNonce )
119119 require .NoError (t , err )
120120 require .True (t , noTransmission )
121- tests .AssertLogEventually (t , observedLogs , "transaction with txID: 0 marked as fatal" )
121+ tests .AssertLogEventually (t , observedLogs , "transaction marked as fatal" )
122122 _ , unconfirmedCount := txStore .FetchUnconfirmedTransactionAtNonceWithCount (nonce )
123123 assert .Equal (t , 0 , unconfirmedCount )
124124 })
0 commit comments