Skip to content

Commit 35780fc

Browse files
committed
chore: fix unstable code use error
1 parent 939d302 commit 35780fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/attestation/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ fn wallet_for_allocation(
191191

192192
let wallet_address = wallet.address();
193193

194-
if i < 5 || i.is_multiple_of(20) {
194+
if i < 5 || (i % 20 == 0) {
195195
// Log first 5 attempts and every 20th attempt
196196
tracing::debug!(
197197
"Derivation attempt: epoch={}, index={}, derived_address={}, target_allocation={}",

0 commit comments

Comments
 (0)