Skip to content

Commit

Permalink
use &nft_swap_contract().to_bytes()
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Mar 13, 2024
1 parent c42799e commit 5343192
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn send_and_spend_erc721_maker_payment() {
token_id: &BigUint::from(1u32).to_bytes(),
chain: &Chain::Eth.to_bytes(),
contract_type: &ContractType::Erc721.to_bytes(),
swap_contract_address: nft_swap_contract().as_bytes(),
swap_contract_address: &nft_swap_contract().to_bytes(),
};
block_on(maker_global_nft.send_nft_maker_payment_v2(send_payment_args)).unwrap();
}

0 comments on commit 5343192

Please sign in to comment.