Skip to content

Commit f3cbd29

Browse files
lklimekclaude
andcommitted
style(rs-platform-wallet/e2e): rustfmt break-up in lookup_identity_secret
Pure rustfmt-driven line break-up after the Wave A SeedBackedIdentitySigner refactor that lands the composition wrapper over SimpleSigner. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 497d1ea commit f3cbd29

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

  • packages/rs-platform-wallet/tests/e2e/framework

packages/rs-platform-wallet/tests/e2e/framework/signer.rs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,16 @@ fn lookup_identity_secret(
191191
key: &IdentityPublicKey,
192192
) -> Result<[u8; 32], ProtocolError> {
193193
let pkh = ripemd160_sha256(key.data().as_slice());
194-
inner.address_private_keys.get(&pkh).copied().ok_or_else(|| {
195-
ProtocolError::Generic(format!(
196-
"SeedBackedIdentitySigner: identity key {} not in pre-derived gap window",
197-
hex::encode(pkh)
198-
))
199-
})
194+
inner
195+
.address_private_keys
196+
.get(&pkh)
197+
.copied()
198+
.ok_or_else(|| {
199+
ProtocolError::Generic(format!(
200+
"SeedBackedIdentitySigner: identity key {} not in pre-derived gap window",
201+
hex::encode(pkh)
202+
))
203+
})
200204
}
201205

202206
/// Build a fully-formed [`IdentityPublicKey`] for a placeholder

0 commit comments

Comments
 (0)