diff --git a/index.js b/index.js index 57282035..ec3fd190 100644 --- a/index.js +++ b/index.js @@ -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)); };