Workaround.
This commit is contained in:
parent
46810e961c
commit
787a119f12
@ -441,7 +441,7 @@ impl From<H256> for Address {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
impl<'_> From<&'_ H256> for Address {
|
impl<'_> From<&'_ H256> for Address {
|
||||||
fn from(value: &'_ H256) -> Address {
|
fn from(value: &'_ H256) -> Address {
|
||||||
unsafe {
|
unsafe {
|
||||||
@ -451,7 +451,7 @@ impl<'_> From<&'_ H256> for Address {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
impl From<Address> for H256 {
|
impl From<Address> for H256 {
|
||||||
fn from(value: Address) -> H256 {
|
fn from(value: Address) -> H256 {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
Loading…
Reference in New Issue
Block a user