Skip to content

Commit

Permalink
return Ok if transfer_history.is_empty
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Nov 20, 2024
1 parent 245845c commit b899f9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mm2src/coins/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ async fn process_transfers_confirmations(
chains: Vec<Chain>,
history_list: &mut NftsTransferHistoryList,
) -> MmResult<(), TransferConfirmationsError> {
if history_list.transfer_history.is_empty() {
return Ok(());
}
async fn current_block_impl<Coin: MarketCoinOps>(coin: Coin) -> MmResult<u64, TransferConfirmationsError> {
coin.current_block()
.compat()
Expand Down

0 comments on commit b899f9b

Please sign in to comment.