Skip to content

Commit

Permalink
fix test description
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo committed Aug 2, 2021
1 parent 3f4944c commit 9abc8da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Spv', () => {
await expect(promise).rejects.toThrow("RpcApiError: 'Invalid public key: XXXX', code: -5, method: spv_createhtlc")
})

it('should not createHtlc with with invalid public key as ownerPubKey', async () => {
it('should not createHtlc with invalid public key as ownerPubKey', async () => {
const pubKeyA = await container.call('spv_getaddresspubkey', [await container.call('spv_getnewaddress')])

const promise = client.spv.createHtlc(pubKeyA, 'XXXX', { timeout: '10' })
Expand Down

0 comments on commit 9abc8da

Please sign in to comment.