From 415b07004563498e99023bc946b82d8dcdefdde2 Mon Sep 17 00:00:00 2001 From: Matias Benary Date: Fri, 27 Dec 2024 18:06:29 -0300 Subject: [PATCH] fix: correct parameter 'unnused' to 'unused' in txStatus --- frontend/src/wallets/near.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/wallets/near.js b/frontend/src/wallets/near.js index 1262160..81f0166 100644 --- a/frontend/src/wallets/near.js +++ b/frontend/src/wallets/near.js @@ -152,7 +152,7 @@ export class Wallet { const provider = new providers.JsonRpcProvider({ url: network.nodeUrl }); // Retrieve transaction result from the network - const transaction = await provider.txStatus(txhash, 'unnused'); + const transaction = await provider.txStatus(txhash, 'unused'); return providers.getTransactionLastResult(transaction); };