Merge pull request #151 from Permissionless-Software-Foundation/ct-unstable

fix(Electrumx): Fixing integration test
This commit is contained in:
Chris Troutner
2021-06-17 07:19:55 -07:00
committed by GitHub
+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'
)
}