From 7d5e9b3a3bb4b8050c64c09d736d8b8564ef38a1 Mon Sep 17 00:00:00 2001 From: Matias Benary Date: Fri, 27 Dec 2024 18:05:35 -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); };