Skip to content

Commit fc15211

Browse files
committed
Merge branch 'staging' of github.com:hop-protocol/hop into production
2 parents c65b84e + cc932e2 commit fc15211

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

packages/sdk/src/HopBridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)