Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #172 from nearprotocol/tx-status
Browse files Browse the repository at this point in the history
Change tx status to use the new API
  • Loading branch information
vgrichina authored Oct 30, 2019
2 parents d07fb83 + 2c70193 commit 2d80946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ exports.keys = async function(options) {

exports.txStatus = async function(options) {
let near = await connect(options);
let status = await near.connection.provider.txStatus(bs58.decode(options.hash));
let status = await near.connection.provider.txStatus(bs58.decode(options.hash), options.accountId || options.masterAccount);
console.log(`Transaction ${options.hash}`);
console.log(inspectResponse(status));
};
Expand Down

0 comments on commit 2d80946

Please sign in to comment.