rmrk-team / rmrk-substrate

[WIP] RMRK Substrate pallets
https://rmrk.app
Other
74 stars 36 forks source link

Minting NFT Directly to NFT Doesn't Update Children Storage #227

Closed HashWarlock closed 1 year ago

HashWarlock commented 1 year ago

In the function nft_mint_directly_to_nft, the Children storage is not updated which leaves causes the Children storage to be inconsistent.

https://github.com/rmrk-team/rmrk-substrate/blob/6485ffde093c7e1def7a177285ed61c4b17cc317/pallets/rmrk-core/src/functions.rs#L431