File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,15 +103,15 @@ impl SubmitTask {
103103 error ! ( "receipts task gone" ) ;
104104 }
105105
106- if let Err ( e ) = fut. await ? {
106+ if let Err ( error ) = fut. await ? {
107107 // Detect and handle transaction underprice errors
108- if matches ! ( e , TransportError :: ErrorResp ( ref err) if err. code == -32603 ) {
108+ if matches ! ( error , TransportError :: ErrorResp ( ref err) if err. code == -32603 ) {
109109 debug ! ( tx_hash = ?tx. hash( ) , "underpriced transaction error - retrying tx with gas bump" ) ;
110110 return Ok ( ControlFlow :: Retry ) ;
111111 }
112112
113113 // Unknown error, log and skip
114- error ! ( error = %e , "Primary tx broadcast failed" ) ;
114+ error ! ( %error , "Primary tx broadcast failed" ) ;
115115 return Ok ( ControlFlow :: Skip ) ;
116116 }
117117
You can’t perform that action at this time.
0 commit comments