Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Aug 5, 2024
1 parent b0bf962 commit 230f3ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions frc53_nft/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,13 +590,7 @@ mod test {
{
// mint no tokens
let mut hook = nft
.mint(
&ALICE,
&ALICE,
vec![String::new(); 0],
RawBytes::default(),
RawBytes::default(),
)
.mint(&ALICE, &ALICE, Vec::default(), RawBytes::default(), RawBytes::default())
.unwrap();
let res = hook.call(&nft.runtime).unwrap();
assert_eq!(res.token_ids, Vec::<TokenID>::default());
Expand Down
2 changes: 1 addition & 1 deletion testing/integration/tests/frc46_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn it_mints_tokens() {
gas_limit: 99999999,
method_num,
sequence,
params: if let Some(params) = params { params } else { RawBytes::default() },
params: params.unwrap_or_default(),
..Message::default()
};
sequence += 1;
Expand Down

0 comments on commit 230f3ff

Please sign in to comment.