@rabbitio/ui-kit 1.0.0-beta.21 → 1.0.0-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3100,7 +3100,7 @@ class SwapspaceSwapProvider extends SwapProvider {
3100
3100
  }
3101
3101
  const toUtcTimestamp = timeStr => Date.parse(timeStr.match(/.+[Zz]$/) ? timeStr : `${timeStr}Z`);
3102
3102
  const expiresAt = toUtcTimestamp(swap.timestamps.expiresAt);
3103
- const isExpiredByTime = expiresAt > Date.now();
3103
+ const isExpiredByTime = expiresAt < Date.now();
3104
3104
  const status = this._mapSwapspaceStatusToRabbitStatus(swap.status, isExpiredByTime);
3105
3105
  const toDigits = status === SwapProvider.SWAP_STATUSES.REFUNDED ? fromCoin.digits : toCoin.digits;
3106
3106
  const addressToSendCoinsToSwapspace = swap.from.address;