From 0b721357bf73d16c88eecabbea57c45b8995c9eb Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Fri, 04 Jun 2021 17:17:08 +0000 Subject: [PATCH] fix: perform transfers on behalf of current contract --- --- a/runtime/src/chain_extension.rs +++ b/runtime/src/chain_extension.rs @@ -96,7 +96,7 @@ let collection = pallet_nft::Module::::get_collection(input.collection_id)?; pallet_nft::Module::::transfer_internal( - env.ext().caller().clone(), + env.ext().address().clone(), input.recipient, &collection, input.token_id, -- gitstuff