Skip to content
Snippets Groups Projects

Fix account linking

Merged Benjamin Gallois requested to merge bgallois/duniter-v2s:153-linking into master
Compare and
6 files
+ 42
1
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -271,6 +271,7 @@ benchmarks! {
let alice_origin = RawOrigin::Signed(Identities::<T>::get(T::IdtyIndex::one()).unwrap().owner_key);
let bob_public = sr25519_generate(0.into(), None);
let bob: T::AccountId = MultiSigner::Sr25519(bob_public).into_account().into();
Pallet::<T>::create_identity(alice_origin.clone().into(), bob.clone())?;
let genesis_hash = frame_system::Pallet::<T>::block_hash(T::BlockNumber::zero());
let payload = (
LINK_IDTY_PAYLOAD_PREFIX, genesis_hash, T::IdtyIndex::one(), bob.clone(),
Loading