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

Commit

Permalink
change tx status to use the new API
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenwang1996 committed Oct 24, 2019
1 parent bd61e54 commit 2c70193
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 2c70193

Please sign in to comment.