Skip to content

Commit 91549da

Browse files
committed
commit Cargo.lock
1 parent 3b34f23 commit 91549da

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

precompiles/src/proxy.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,10 @@ where
255255
for proxy in proxies.0 {
256256
let delegate: [u8; 32] = proxy.delegate.into();
257257

258-
let proxy_type: u8 =
259-
proxy
260-
.proxy_type
261-
.try_into()
262-
.map_err(|_| PrecompileFailure::Error {
263-
exit_status: ExitError::Other("Invalid proxy type".into()),
264-
})?;
258+
let proxy_type: u8 = proxy.proxy_type.into();
259+
// .map_err(|_| PrecompileFailure::Error {
260+
// exit_status: ExitError::Other("Invalid proxy type".into()),
261+
// })?;
265262
let delay: u32 = proxy
266263
.delay
267264
.try_into()

0 commit comments

Comments
 (0)