mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 06:41:02 +00:00
Bring back SubmitSignedTransaction trait. (#3908)
* Bring back SubmitSignedTransaction. * Fix long lines. * Add missing docs. * Update core/primitives/src/crypto.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update node/runtime/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update core/primitives/src/crypto.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
committed by
Gavin Wood
parent
e05e624a3a
commit
cecf3a1438
@@ -96,12 +96,6 @@ pub mod sr25519 {
|
||||
mod app_sr25519 {
|
||||
use app_crypto::{app_crypto, key_types::IM_ONLINE, sr25519};
|
||||
app_crypto!(sr25519, IM_ONLINE);
|
||||
|
||||
impl From<Signature> for sr_primitives::AnySignature {
|
||||
fn from(sig: Signature) -> Self {
|
||||
sr25519::Signature::from(sig).into()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// An i'm online keypair using sr25519 as its crypto.
|
||||
@@ -119,12 +113,6 @@ pub mod ed25519 {
|
||||
mod app_ed25519 {
|
||||
use app_crypto::{app_crypto, key_types::IM_ONLINE, ed25519};
|
||||
app_crypto!(ed25519, IM_ONLINE);
|
||||
|
||||
impl From<Signature> for sr_primitives::AnySignature {
|
||||
fn from(sig: Signature) -> Self {
|
||||
ed25519::Signature::from(sig).into()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// An i'm online keypair using ed25519 as its crypto.
|
||||
|
||||
Reference in New Issue
Block a user