File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @hop-protocol/frontend" ,
3- "version" : " 0.0.40 " ,
3+ "version" : " 0.0.41 " ,
44 "description" : " Hop Protocol Frontend" ,
55 "author" : " Authereum Labs, Inc." ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -1974,7 +1974,7 @@ export class HopBridge extends Base {
19741974 destinationChain : TChain ,
19751975 bonder : string
19761976 ) : Promise < BigNumber > {
1977- if ( this . enableSocket || this . enableLifi ) {
1977+ if ( ( this . enableSocket || this . enableLifi ) && this . tokenSymbol !== TokenSymbol . HOP ) {
19781978 return parseUnits ( '100000' , this . getTokenDecimals ( ) )
19791979 }
19801980
@@ -2026,7 +2026,7 @@ export class HopBridge extends Base {
20262026 destinationChain : TChain ,
20272027 isHTokenSend : boolean = false
20282028 ) : Promise < BigNumber > {
2029- if ( ! isHTokenSend && ( this . enableSocket || this . enableLifi ) ) {
2029+ if ( ! isHTokenSend && ( this . enableSocket || this . enableLifi ) && this . tokenSymbol !== TokenSymbol . HOP ) {
20302030 return parseUnits ( '100000' , this . getTokenDecimals ( ) )
20312031 }
20322032
You can’t perform that action at this time.
0 commit comments