From 2a91ae781a0069ad8167553eeb573f5f907596ad Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Wed, 06 Oct 2021 09:52:12 +0000 Subject: [PATCH] fix call args --- --- a/pallets/nft/src/eth/erc.rs +++ b/pallets/nft/src/eth/erc.rs @@ -194,7 +194,7 @@ let caller = T::CrossAccountId::from_eth(caller); let token_id = token_id.try_into().map_err(|_| "amount overflow")?; - >::burn_item_internal(&caller, &self, token_id, 1).map_err(|_| "burn error")?; + >::burn_item_internal(&caller, &self, token_id, &caller, 1).map_err(|_| "burn error")?; Ok(()) } } -- gitstuff