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 @@ -123,7 +123,7 @@ impl SimErrorResp {
123
123
124
124
/// Attempts to decode the error payload as an [`IncorrectHostBlock`].
125
125
pub fn as_incorrect_host_block ( & self ) -> Option < IncorrectHostBlock > {
126
- self . as_revert_data ( ) . and_then ( |data| IncorrectHostBlock :: abi_decode ( & data, true ) . ok ( ) )
126
+ self . as_revert_data ( ) . and_then ( |data| IncorrectHostBlock :: abi_decode ( & data) . ok ( ) )
127
127
}
128
128
129
129
/// True if the error is a [`Zenith::BadSignature`].
@@ -135,7 +135,7 @@ impl SimErrorResp {
135
135
136
136
/// Attempts to decode the error payload as a [`Zenith::BadSignature`].
137
137
pub fn as_bad_signature ( & self ) -> Option < Zenith :: BadSignature > {
138
- self . as_revert_data ( ) . and_then ( |data| Zenith :: BadSignature :: abi_decode ( & data, true ) . ok ( ) )
138
+ self . as_revert_data ( ) . and_then ( |data| Zenith :: BadSignature :: abi_decode ( & data) . ok ( ) )
139
139
}
140
140
141
141
/// True if the error is a [`Zenith::OneRollupBlockPerHostBlock`].
@@ -149,7 +149,7 @@ impl SimErrorResp {
149
149
/// [`Zenith::OneRollupBlockPerHostBlock`].
150
150
pub fn as_one_rollup_block_per_host_block ( & self ) -> Option < Zenith :: OneRollupBlockPerHostBlock > {
151
151
self . as_revert_data ( )
152
- . and_then ( |data| Zenith :: OneRollupBlockPerHostBlock :: abi_decode ( & data, true ) . ok ( ) )
152
+ . and_then ( |data| Zenith :: OneRollupBlockPerHostBlock :: abi_decode ( & data) . ok ( ) )
153
153
}
154
154
155
155
/// True if the error is an unknown revert.
You can’t perform that action at this time.
0 commit comments