mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 01:02:05 -07:00
fix(raw transactions): Updating for change in output of abc full node
This commit is contained in:
@@ -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')
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user