File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -108,14 +108,15 @@ async function executeTransfer({
108
108
109
109
const warpCore = getWarpCore ( ) ;
110
110
111
- const isCollateralSufficient = await warpCore . isDestinationCollateralSufficient ( {
112
- originTokenAmount,
113
- destination,
114
- } ) ;
115
- if ( ! isCollateralSufficient ) {
116
- toast . error ( 'Insufficient collateral on destination for transfer' ) ;
117
- throw new Error ( 'Insufficient destination collateral' ) ;
118
- }
111
+ // TODO: replace after https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3851
112
+ // const isCollateralSufficient = await warpCore.isDestinationCollateralSufficient({
113
+ // originTokenAmount,
114
+ // destination,
115
+ // });
116
+ // if (!isCollateralSufficient) {
117
+ // toast.error('Insufficient collateral on destination for transfer');
118
+ // throw new Error('Insufficient destination collateral');
119
+ // }
119
120
120
121
addTransfer ( {
121
122
timestamp : new Date ( ) . getTime ( ) ,
You can’t perform that action at this time.
0 commit comments