Skip to content

Commit

Permalink
Merge branch 'main' into 02/10/25-Add-getTransaction-wasm-fn
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingjam authored Feb 14, 2025
2 parents 5f34657 + 42f0589 commit 8b7dec3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
networkKey = await gui.getNetworkKey();
subgraphUrl = $settings?.subgraphs?.[networkKey] ?? '';
try {
selectTokens = await gui.getSelectTokens();
selectTokens = gui.getSelectTokens();
return selectTokens;
} catch (e) {
error = DeploymentStepErrors.NO_SELECT_TOKENS;
Expand Down Expand Up @@ -228,6 +228,8 @@
if (gui) {
try {
allTokensSelected = gui?.areAllTokensSelected();
if (!allTokensSelected) return;
const vaultIds = gui?.getVaultIds();
const inputVaultIds = vaultIds?.get('input');
const outputVaultIds = vaultIds?.get('output');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@
let checking = false;
onMount(async () => {
tokenInfo = await gui?.getTokenInfo(token.key);
if (tokenInfo?.address) {
inputValue = tokenInfo.address;
try {
tokenInfo = await gui?.getTokenInfo(token.key);
if (tokenInfo?.address) {
inputValue = tokenInfo.address;
}
} catch {
// do nothing
}
});
Expand Down

0 comments on commit 8b7dec3

Please sign in to comment.