fix(Electrumx): Fixing integration test

This commit is contained in:
Chris Troutner
2021-06-17 07:16:48 -07:00
parent 4c4a45841b
commit 258144d26d
+3 -1
View File
@@ -359,10 +359,12 @@ describe('#ElectrumX', () => {
try {
await bchjs.Electrumx.broadcast(txHex)
} catch (err) {
// console.log('err: ', err)
assert.property(err, 'success')
assert.equal(err.success, false)
assert.include(
err.error,
err.error.error,
'the transaction was rejected by network rules'
)
}