mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
fix polkadot primitives (#908)
This commit is contained in:
committed by
Bastian Köcher
parent
b8e021c22c
commit
f6fd87f39e
@@ -84,7 +84,12 @@ impl TransactionSignScheme for Rococo {
|
||||
let signer: sp_runtime::MultiSigner = signer.public().into();
|
||||
let (call, extra, _) = raw_payload.deconstruct();
|
||||
|
||||
bp_rococo::UncheckedExtrinsic::new_signed(call, signer.into_account(), signature.into(), extra)
|
||||
bp_rococo::UncheckedExtrinsic::new_signed(
|
||||
call,
|
||||
sp_runtime::MultiAddress::Id(signer.into_account()),
|
||||
signature.into(),
|
||||
extra,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -84,7 +84,12 @@ impl TransactionSignScheme for Westend {
|
||||
let signer: sp_runtime::MultiSigner = signer.public().into();
|
||||
let (call, extra, _) = raw_payload.deconstruct();
|
||||
|
||||
bp_westend::UncheckedExtrinsic::new_signed(call, signer.into_account(), signature.into(), extra)
|
||||
bp_westend::UncheckedExtrinsic::new_signed(
|
||||
call,
|
||||
sp_runtime::MultiAddress::Id(signer.into_account()),
|
||||
signature.into(),
|
||||
extra,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user