From eabdadca0a1dc3d3db5acb89fa9956c3c84e1a0c Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Tue, 18 Feb 2025 21:27:10 +0100
Subject: [PATCH] fix bad signature shadowed error

---
 runtime/gdev/tests/integration_tests.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/gdev/tests/integration_tests.rs b/runtime/gdev/tests/integration_tests.rs
index 56f14f33..3f2baa46 100644
--- a/runtime/gdev/tests/integration_tests.rs
+++ b/runtime/gdev/tests/integration_tests.rs
@@ -1507,7 +1507,7 @@ fn test_change_owner_key_validator_keys_set() {
         let bob = AccountKeyring::Bob.to_account_id();
         let ferdie = AccountKeyring::Ferdie.to_account_id();
         let payload = (b"icok", genesis_hash, 2u32, bob.clone()).encode();
-        let signature = AccountKeyring::Bob.sign(&payload);
+        let signature = AccountKeyring::Ferdie.sign(&payload);
 
         // Bob is not an online validator, but his identity/owner_key is already associated.
         // He should not be able to change its owner_key.
@@ -1536,7 +1536,7 @@ fn test_change_owner_key_validator_online() {
         let alice = AccountKeyring::Alice.to_account_id();
         let ferdie = AccountKeyring::Ferdie.to_account_id();
         let payload = (b"icok", genesis_hash, 1u32, alice.clone()).encode();
-        let signature = AccountKeyring::Alice.sign(&payload);
+        let signature = AccountKeyring::Ferdie.sign(&payload);
 
         // Alice is an online validator
         assert!(pallet_authority_members::OnlineAuthorities::<Runtime>::get().contains(&1));
-- 
GitLab