Skip to content

Commit 08b0584

Browse files
committed
clean up code
1 parent f7ac435 commit 08b0584

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

precompiles/src/sr25519.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ where
3030
return Err(PrecompileFailure::Error {
3131
exit_status: ExitError::Other("input must contain 128 bytes".into()),
3232
});
33-
}
33+
};
3434
let mut buf = [0u8; 32];
3535

3636
let msg = parse_slice(input, 4, 36)?;
@@ -49,6 +49,7 @@ where
4949
if valid {
5050
buf[31] = 1u8;
5151
}
52+
5253
Ok((ExitSucceed::Returned, buf.to_vec()))
5354
}
5455
}

0 commit comments

Comments
 (0)