diff --git a/test/v3/raw-transactions.js b/test/v3/raw-transactions.js index 7396f1a..56b55ee 100644 --- a/test/v3/raw-transactions.js +++ b/test/v3/raw-transactions.js @@ -975,6 +975,7 @@ describe('#Raw-Transactions', () => { // Restore the saved URL. process.env.RPC_BASEURL = savedUrl2 }) + it('should submit hex encoded transaction', async () => { // This is a difficult test to run as transaction hex is invalid after a // block confirmation. So the unit tests simulates what the output 'should' @@ -1004,7 +1005,7 @@ describe('#Raw-Transactions', () => { // Integration test } else { assert.hasAllKeys(result, ['error']) - assert.include(result.error, 'Missing inputs') + assert.include(result.error, 'bad-txns-inputs-missingorspent') } }) }) @@ -1159,7 +1160,7 @@ describe('#Raw-Transactions', () => { // Integration test } else { assert.hasAllKeys(result, ['error']) - assert.include(result.error, 'Missing inputs') + assert.include(result.error, 'bad-txns-inputs-missingorspent') } }) })