Skip to content

Commit bee530e

Browse files
committed
fix into issue
1 parent 91549da commit bee530e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

precompiles/src/proxy.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,17 +254,14 @@ where
254254
let mut result: Vec<(H256, U256, U256)> = vec![];
255255
for proxy in proxies.0 {
256256
let delegate: [u8; 32] = proxy.delegate.into();
257-
258257
let proxy_type: u8 = proxy.proxy_type.into();
259-
// .map_err(|_| PrecompileFailure::Error {
260-
// exit_status: ExitError::Other("Invalid proxy type".into()),
261-
// })?;
262258
let delay: u32 = proxy
263259
.delay
264260
.try_into()
265261
.map_err(|_| PrecompileFailure::Error {
266262
exit_status: ExitError::Other("Invalid delay".into()),
267263
})?;
264+
268265
result.push((delegate.into(), proxy_type.into(), delay.into()));
269266
}
270267

0 commit comments

Comments
 (0)