Skip to content

Commit

Permalink
Fixed save of metadata on contract initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
cyborgshead committed Jan 6, 2024
1 parent 40f0cf2 commit 6aaccbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ pub fn instantiate(
NETWORK_REGISTRATION_ALLOWED.save(deps.storage, netuid, &true)?;
METADATA.save(
deps.storage,
root_netuid,
netuid,
&"Qmd2anGbDQj7pYWMZwv9SEw11QFLQu3nzoGXfi1KwLy3Zr".to_string(),
)?;

Expand Down

0 comments on commit 6aaccbc

Please sign in to comment.