Skip to content

Commit

Permalink
Merge pull request #549 from enkryptcom/fix/rango-supported-network-c…
Browse files Browse the repository at this point in the history
…heck

Fix: Rango supported network check
  • Loading branch information
kvhnuke authored Nov 14, 2024
2 parents 5326bf0 + f851dde commit b6e5f6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/swap/src/providers/rango/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ class Rango extends ProviderClass {
` Enkrypt does not support Rango swap on the source network` +
` fromNetwork=${this.network}`,
);
return null;
}

// We must support Rango on the destination network
Expand All @@ -642,6 +643,7 @@ class Rango extends ProviderClass {
` Enkrypt does not support Rango swap on the destination network` +
` fromNetwork=${this.network}`,
);
return null;
}

// Rango must support the source network
Expand Down

0 comments on commit b6e5f6d

Please sign in to comment.