Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Nov 21, 2023
1 parent 21217b9 commit e449156
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion sdk/src/client/secret/ledger_nano.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ impl SecretManage for LedgerSecretManager {
) -> Result<Vec<ed25519::PublicKey>, Self::Error> {
// need an update on the ledger C lib
todo!();
//
// let options = options.into().unwrap_or_default();
// let bip32_account = account_index.harden().into();

Expand Down
10 changes: 6 additions & 4 deletions sdk/src/client/stronghold/secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,10 +581,12 @@ mod tests {
stronghold_adapter.clear_key().await;

// Address generation returns an error when the key is cleared.
assert!(stronghold_adapter
.generate_ed25519_addresses(IOTA_COIN_TYPE, 0, 0..1, None,)
.await
.is_err());
assert!(
stronghold_adapter
.generate_ed25519_addresses(IOTA_COIN_TYPE, 0, 0..1, None)
.await
.is_err()
);

stronghold_adapter.set_password("drowssap".to_owned()).await.unwrap();

Expand Down
1 change: 0 additions & 1 deletion sdk/src/types/block/output/anchor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ impl StorageScore for AnchorOutput {
impl WorkScore for AnchorOutput {
fn work_score(&self, work_score_params: WorkScoreParameters) -> u32 {
work_score_params.output()
+ self.native_tokens().work_score(work_score_params)
+ self.features().work_score(work_score_params)
+ self.immutable_features().work_score(work_score_params)
}
Expand Down

0 comments on commit e449156

Please sign in to comment.