From 90eb182a8e0e669fe08494f2073dae0b34158f19 Mon Sep 17 00:00:00 2001 From: Guille Date: Sat, 13 Jul 2024 01:27:40 +0200 Subject: [PATCH] Update frontend/src/wallets/near.js --- frontend/src/wallets/near.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/wallets/near.js b/frontend/src/wallets/near.js index f620195..e825998 100644 --- a/frontend/src/wallets/near.js +++ b/frontend/src/wallets/near.js @@ -135,6 +135,7 @@ export class Wallet { const { network } = walletSelector.options; const provider = new providers.JsonRpcProvider({ url: network.nodeUrl }); + // Retrieve transaction result from the network const transaction = await provider.txStatus(txhash, 'unnused'); return providers.getTransactionLastResult(transaction); };