Skip to content

Commit ad61fff

Browse files
committed
cargo fix
1 parent 9e1a589 commit ad61fff

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

precompiles/src/proxy.rs

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

258-
// let proxy_type: ProxyType = proxy.proxy_type;
259-
260-
let proxy_type_u8: u8 =
258+
let proxy_type: u8 =
261259
proxy
262260
.proxy_type
263261
.try_into()
@@ -270,7 +268,7 @@ where
270268
.map_err(|_| PrecompileFailure::Error {
271269
exit_status: ExitError::Other("Invalid delay".into()),
272270
})?;
273-
result.push((delegate.into(), proxy_type_u8.into(), delay.into()));
271+
result.push((delegate.into(), proxy_type.into(), delay.into()));
274272
}
275273

276274
Ok(result)

0 commit comments

Comments
 (0)