Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Jan 12, 2024
1 parent a7d04a0 commit 8ea060d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/core/src/method/secret_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub enum SecretManagerMethod {
/// Expected response: [`Ok`](crate::Response::Ok)
#[cfg(feature = "stronghold")]
#[cfg_attr(docsrs, doc(cfg(feature = "stronghold")))]
ClearStrongholdPassword
ClearStrongholdPassword,
}

#[cfg(test)]
Expand Down
4 changes: 2 additions & 2 deletions sdk/examples/client/output/build_account_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ async fn main() -> Result<()> {
// Account id needs to be null the first time
let account_output = AccountOutputBuilder::new_with_minimum_amount(storage_score_params, AccountId::null())
.add_feature(SenderFeature::new(address.clone()))
.add_feature(MetadataFeature::new([(metadata.to_vec(), metadata.to_vec())])?)
.add_feature(MetadataFeature::new([(b"data".to_vec(), metadata.to_vec())])?)
.add_immutable_feature(IssuerFeature::new(address.clone()))
.add_immutable_feature(MetadataFeature::new([(metadata.to_vec(), metadata.to_vec())])?)
.add_immutable_feature(MetadataFeature::new([(b"data".to_vec(), metadata.to_vec())])?)
.add_unlock_condition(AddressUnlockCondition::new(address))
.finish_output()?;

Expand Down

0 comments on commit 8ea060d

Please sign in to comment.