We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af11a1 commit 95926b1Copy full SHA for 95926b1
exercises/ex04-marketplace/loosely-coupled-marketplace/src/lib.rs
@@ -119,11 +119,9 @@ pub mod pallet {
119
.checked_mul(&amount.checked_into().ok_or(Error::<T>::Overflow)?)
120
.ok_or(Error::<T>::Overflow)?;
121
122
- todo!("transfer amount of nft_id from the seller to the buyer");
123
-
124
todo!("transfer the amount of currency owed from the buyer to the seller");
125
126
- T::Resource::transfer(nft_id, seller.clone(), buyer.clone(), amount);
+ todo!("transfer amount of nft_id from the seller to the buyer");
127
128
if amount == sale_data.amount {
129
ResourcesForSale::<T>::remove(nft_id, seller.clone());
0 commit comments