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 {
103
103
error ! ( "receipts task gone" ) ;
104
104
}
105
105
106
- if let Err ( e ) = fut. await ? {
106
+ if let Err ( error ) = fut. await ? {
107
107
// 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 ) {
109
109
debug ! ( tx_hash = ?tx. hash( ) , "underpriced transaction error - retrying tx with gas bump" ) ;
110
110
return Ok ( ControlFlow :: Retry ) ;
111
111
}
112
112
113
113
// Unknown error, log and skip
114
- error ! ( error = %e , "Primary tx broadcast failed" ) ;
114
+ error ! ( %error , "Primary tx broadcast failed" ) ;
115
115
return Ok ( ControlFlow :: Skip ) ;
116
116
}
117
117
You can’t perform that action at this time.
0 commit comments