From 1b3e1cc293273131e6536d7d8b3bdfa6529c87a9 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 31 Oct 2020 10:11:44 -0700 Subject: [PATCH] fix(raw transactions): Updating for change in output of abc full node --- test/v3/raw-transactions.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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') } }) })