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 {
123123
124124 /// Attempts to decode the error payload as an [`IncorrectHostBlock`].
125125 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 ( ) )
127127 }
128128
129129 /// True if the error is a [`Zenith::BadSignature`].
@@ -135,7 +135,7 @@ impl SimErrorResp {
135135
136136 /// Attempts to decode the error payload as a [`Zenith::BadSignature`].
137137 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 ( ) )
139139 }
140140
141141 /// True if the error is a [`Zenith::OneRollupBlockPerHostBlock`].
@@ -149,7 +149,7 @@ impl SimErrorResp {
149149 /// [`Zenith::OneRollupBlockPerHostBlock`].
150150 pub fn as_one_rollup_block_per_host_block ( & self ) -> Option < Zenith :: OneRollupBlockPerHostBlock > {
151151 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 ( ) )
153153 }
154154
155155 /// True if the error is an unknown revert.
You can’t perform that action at this time.
0 commit comments