difftreelog
fix balance underflow error in transfer_fungible
in: master
1 file changed
pallets/nft/src/lib.rsdiffbeforeafterboth2037 balance.value = balance2037 balance.value = balance2038 .value2038 .value2039 .checked_sub(value)2039 .checked_sub(value)2040 .ok_or(Error::<T>::NumOverflow)?;2040 .ok_or(Error::<T>::TokenValueTooLow)?;204120412042 // update balanceOf2042 // update balanceOf2043 collection.consume_sstore()?;2043 collection.consume_sstore()?;