Skip to content

Commit

Permalink
Update src/services/near-wallet.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez committed Jul 12, 2024
1 parent d7cabb4 commit e478240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/near-wallet.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 e478240

Please sign in to comment.