edge-currency-plugins 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -527,10 +527,8 @@ var _utils = require('./utils');
|
|
|
527
527
|
privateKeys,
|
|
528
528
|
opts
|
|
529
529
|
) {
|
|
530
|
-
const otherParams = _types5.asUtxoSignMessageOtherParams.call(void 0, opts)
|
|
530
|
+
const otherParams = _types5.asUtxoSignMessageOtherParams.call(void 0, opts.otherParams)
|
|
531
531
|
const { publicAddress } = otherParams
|
|
532
|
-
if (publicAddress == null)
|
|
533
|
-
throw new Error('Missing publicAddress in EdgeSignMessageOptions')
|
|
534
532
|
const scriptPubkey = walletTools.addressToScriptPubkey(publicAddress)
|
|
535
533
|
const processorAddress = await processor.fetchAddress(scriptPubkey)
|
|
536
534
|
if (_optionalChain([processorAddress, 'optionalAccess', _17 => _17.path]) == null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edge-currency-plugins",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Edge currency plugins to fetch and process wallet accounts, balances and transactions.",
|
|
5
5
|
"repository": "https://github.com/EdgeApp/edge-currency-plugins",
|
|
6
6
|
"license": "MIT",
|