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:
@ -898,6 +898,10 @@ pub mod serde_bincode_compat {
|
||||
}
|
||||
impl SerdeBincodeCompat for super::TransactionSigned {
|
||||
type BincodeRepr<'a> = TransactionSigned<'a>;
|
||||
|
||||
fn as_repr(&self) -> Self::BincodeRepr<'_> {
|
||||
self.into()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user