Skip to content

Commit 1b42a10

Browse files
committed
more cleaning
1 parent 890a2c3 commit 1b42a10

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

target_chains/fuel/contracts/pyth-interface/src/data_structures/wormhole_light.sw

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,20 +133,17 @@ impl GuardianSetUpgrade {
133133
index += 20;
134134
i += 1;
135135
}
136-
137136
require(
138137
new_guardian_set
139138
.keys
140139
.len() == guardian_length.as_u64(),
141140
WormholeError::GuardianSetKeysLengthNotEqual,
142141
);
143-
log("Guardian set keys length check passed");
144142
require(
145143
encoded_upgrade
146144
.len() == index,
147145
WormholeError::InvalidGuardianSetUpgradeLength,
148146
);
149-
log("Guardian set upgrade length check passed");
150147
GuardianSetUpgrade::new(
151148
action,
152149
chain,

target_chains/fuel/contracts/tests/utils/interface/wormhole_guardians.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ pub(crate) async fn submit_new_guardian_set(
6363
.methods()
6464
.submit_new_guardian_set(encoded_vm)
6565
.call()
66-
.await;
67-
68-
result.map_err(handle_error).unwrap()
66+
.await
67+
.map_err(handle_error).unwrap()
6968
}

0 commit comments

Comments
 (0)