diff --git a/sdk/src/client/secret/ledger_nano.rs b/sdk/src/client/secret/ledger_nano.rs index 7c38f03597..d3b3009665 100644 --- a/sdk/src/client/secret/ledger_nano.rs +++ b/sdk/src/client/secret/ledger_nano.rs @@ -145,7 +145,6 @@ impl SecretManage for LedgerSecretManager { ) -> Result, 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(); diff --git a/sdk/src/client/stronghold/secret.rs b/sdk/src/client/stronghold/secret.rs index cc0993a522..7568cc176d 100644 --- a/sdk/src/client/stronghold/secret.rs +++ b/sdk/src/client/stronghold/secret.rs @@ -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(); diff --git a/sdk/src/types/block/output/anchor.rs b/sdk/src/types/block/output/anchor.rs index 479076bff7..191403b116 100644 --- a/sdk/src/types/block/output/anchor.rs +++ b/sdk/src/types/block/output/anchor.rs @@ -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) }