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 11, 2024
1 parent 95709a7 commit 98547c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/examples/how_tos/native_tokens/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async fn main() -> Result<()> {
account_id: None,
circulating_supply: U256::from(CIRCULATING_SUPPLY),
maximum_supply: U256::from(MAXIMUM_SUPPLY),
foundry_metadata: Some(metadata.to_bytes()),
foundry_metadata: Some(metadata.try_into()?),
};

let transaction = wallet.create_native_token(params, None).await?;
Expand Down

0 comments on commit 98547c0

Please sign in to comment.