mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
Rename: primitives/sr-io -> primitives/sp-io (#4328)
* primitives/sr-io -> primitives/io * fix * rename * runtime-io -> sp-io * git mv * fix ci * remove package name * fix * fix * try minimizing diff * try minimizing diff again * try minimizing diff again
This commit is contained in:
committed by
Bastian Köcher
parent
1f84d6d41d
commit
4f2cdb20c1
@@ -17,7 +17,7 @@ node-executor = { path = "../executor" }
|
||||
node-primitives = { path = "../primitives" }
|
||||
node-runtime = { path = "../runtime" }
|
||||
primitives = { package = "sp-core", path = "../../../primitives/core" }
|
||||
runtime-io = { package = "sp-io", path = "../../../primitives/sr-io" }
|
||||
sp-io = { path = "../../../primitives/io" }
|
||||
runtime_support = { package = "frame-support", path = "../../../frame/support" }
|
||||
session = { package = "pallet-session", path = "../../../frame/session" }
|
||||
sp-runtime = { path = "../../../primitives/runtime" }
|
||||
|
||||
@@ -84,7 +84,7 @@ pub fn sign(xt: CheckedExtrinsic, version: u32, genesis_hash: [u8; 32]) -> Unche
|
||||
let key = AccountKeyring::from_account_id(&signed).unwrap();
|
||||
let signature = payload.using_encoded(|b| {
|
||||
if b.len() > 256 {
|
||||
key.sign(&runtime_io::hashing::blake2_256(b))
|
||||
key.sign(&sp_io::hashing::blake2_256(b))
|
||||
} else {
|
||||
key.sign(b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user