@atomicfinance/bitcoin-dlc-provider
Advanced tools
Comparing version 2.0.0-beta.4 to 2.0.0-beta.5
@@ -978,5 +978,6 @@ "use strict"; | ||
const _address = bitcoinjs_lib_1.address.fromOutputScript(scriptPubKey, network); | ||
const inputAddress = await this.getMethod('findAddress')([ | ||
_address, | ||
]); | ||
let inputAddress = await this.getMethod('findAddress')([_address]); | ||
if (!inputAddress) { | ||
inputAddress = await this.getMethod('findAddress')([_address], true); | ||
} | ||
let derivationPath; | ||
@@ -983,0 +984,0 @@ if (inputAddress) { |
@@ -1717,5 +1717,6 @@ import Provider from '@atomicfinance/provider'; | ||
const _address = address.fromOutputScript(scriptPubKey, network); | ||
const inputAddress: Address = await this.getMethod('findAddress')([ | ||
_address, | ||
]); | ||
let inputAddress: Address = await this.getMethod('findAddress')([_address]); | ||
if (!inputAddress) { | ||
inputAddress = await this.getMethod('findAddress')([_address], true); | ||
} | ||
let derivationPath: string; | ||
@@ -1722,0 +1723,0 @@ if (inputAddress) { |
{ | ||
"name": "@atomicfinance/bitcoin-dlc-provider", | ||
"umdName": "BitcoinDlcProvider", | ||
"version": "2.0.0-beta.4", | ||
"version": "2.0.0-beta.5", | ||
"description": "CAL Finance Bitcoin Dlc Provider", | ||
@@ -18,5 +18,5 @@ "author": "Atomic Finance <info@atomic.finance>", | ||
"dependencies": { | ||
"@atomicfinance/bitcoin-networks": "^2.0.0-beta.4", | ||
"@atomicfinance/provider": "^2.0.0-beta.4", | ||
"@atomicfinance/types": "^2.0.0-beta.4", | ||
"@atomicfinance/bitcoin-networks": "^2.0.0-beta.5", | ||
"@atomicfinance/provider": "^2.0.0-beta.5", | ||
"@atomicfinance/types": "^2.0.0-beta.5", | ||
"@liquality/bitcoin-utils": "1.1.5", | ||
@@ -46,3 +46,3 @@ "@liquality/provider": "1.1.5", | ||
}, | ||
"gitHead": "395ee17e6c146c43a3162eb8548827a7ab7eef58" | ||
"gitHead": "7209de07903fcd18e5dca23e041f654bf8b15305" | ||
} |
Sorry, the diff of this file is not supported yet
202163
3015