From 384f89a844da1f0d3d743fef295bd6a9756b3154 Mon Sep 17 00:00:00 2001 From: othermike Date: Fri, 20 Jan 2023 12:11:52 -0500 Subject: [PATCH] feat: re-enable ibc --- src/pages/Send/SendForm/WarningInfo.tsx | 4 +--- src/pages/Send/SendFormButton/NextOrApproveButton.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/pages/Send/SendForm/WarningInfo.tsx b/src/pages/Send/SendForm/WarningInfo.tsx index b3e10d0..d1ddd0f 100644 --- a/src/pages/Send/SendForm/WarningInfo.tsx +++ b/src/pages/Send/SendForm/WarningInfo.tsx @@ -163,9 +163,7 @@ export const WarningInfo = (): ReactElement => { const bridgesList = availableBridges[chain] function infoText(): string | undefined { - if (bridgeUsed === BridgeType.ibc) { - return 'IBC transfers are currently suspended.' - } else if (bridgeUsed === BridgeType.shuttle) { + if (bridgeUsed === BridgeType.shuttle) { return Date.now() >= 1675123200000 ? 'Shuttle transfers from Terra Classic have been disabled.' : `If you own LUNC, UST, or other assets bridged with shuttle on ETH, BSC or Harmony you must send them back to Terra Classic before ${new Date( diff --git a/src/pages/Send/SendFormButton/NextOrApproveButton.tsx b/src/pages/Send/SendFormButton/NextOrApproveButton.tsx index dffe978..ea32a8f 100644 --- a/src/pages/Send/SendFormButton/NextOrApproveButton.tsx +++ b/src/pages/Send/SendFormButton/NextOrApproveButton.tsx @@ -81,15 +81,13 @@ const NextOrApproveButton = ({ onClick={onClickSendNextButton} disabled={ !ableButton || - bridgeUsed === BridgeType.ibc || bridgeUsed === BridgeType.wormhole || (bridgeUsed === BridgeType.shuttle && (Date.now() >= 1675123200000 || fromBlockChain === BlockChainType.terra)) } > - {bridgeUsed === BridgeType.ibc || - bridgeUsed === BridgeType.wormhole || + {bridgeUsed === BridgeType.wormhole || (bridgeUsed === BridgeType.shuttle && (Date.now() >= 1675123200000 || fromBlockChain === BlockChainType.terra))