mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: replace BincodeRepr From bound with conversion function (#14069)
This commit is contained in:
@ -711,5 +711,9 @@ pub mod serde_bincode_compat {
|
||||
|
||||
impl SerdeBincodeCompat for super::OpTransactionSigned {
|
||||
type BincodeRepr<'a> = OpTransactionSigned<'a>;
|
||||
|
||||
fn as_repr(&self) -> Self::BincodeRepr<'_> {
|
||||
self.into()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user