Trait frame_support::crypto::ecdsa::ECDSAExt
source · pub trait ECDSAExt {
// Required method
fn to_eth_address(&self) -> Result<[u8; 20], ()>;
}Expand description
Extension trait for [Public] to be used from inside the runtime.
Note
This is needed because host functions cannot be called from within
sp_core due to cyclic dependencies on sp_io.