Skip to content

Commit

Permalink
Update frontend/src/wallets/near.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez authored Jul 12, 2024
1 parent c5e49d3 commit 90eb182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/wallets/near.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit 90eb182

Please sign in to comment.