Skip to content

Commit

Permalink
fix bug in example
Browse files Browse the repository at this point in the history
  • Loading branch information
SwayStar123 committed Jan 29, 2025
1 parent 0aca099 commit 611a920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/asset/setting_src7_attributes/src/main.sw
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl SetAssetMetadata for Contract {
// ANCHOR: setting_src7_attributes_custom_abi
abi CustomSetAssetMetadata {
#[storage(read, write)]
fn set_metadata(
fn custom_set_metadata(
asset: AssetId,
key: String,
bits256: b256,
Expand All @@ -36,7 +36,7 @@ abi CustomSetAssetMetadata {

impl CustomSetAssetMetadata for Contract {
#[storage(read, write)]
fn set_metadata(
fn custom_set_metadata(
asset: AssetId,
key: String,
bits256: b256,
Expand Down

0 comments on commit 611a920

Please sign in to comment.