Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I126 secp ext #138

Merged
merged 15 commits into from
Apr 19, 2023
Prev Previous commit
Next Next commit
Fixed errors.
PopcornPaws committed Apr 18, 2023
commit 8218ba7cdad8b914aa2992bbbb2fb2286c1c4ee2
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions gn-sig/Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@ std = [
"serde",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
]

@@ -25,5 +24,4 @@ serde = { version = "1.0", default-features = false, features = ["derive"], opti

# substrate primitives
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
2 changes: 1 addition & 1 deletion gn-sig/src/lib.rs
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ impl IdentifyAccount for MultiSigner {
match self {
Self::Ed25519(who) => <[u8; 32]>::from(who).into(),
Self::Sr25519(who) => <[u8; 32]>::from(who).into(),
Self::Ecdsa(who) => gn_common::utils::evm_to_account(who.as_ref()).into(),
Self::Ecdsa(who) => gn_common::utils::evm_to_account(who.into()).into(),
}
}
}