fix segwit api
This commit is contained in:
parent
1a06f67006
commit
8e468ae092
@ -749,9 +749,6 @@ advancedCli
|
|||||||
.requiredArgument("reservePub", clk.STRING)
|
.requiredArgument("reservePub", clk.STRING)
|
||||||
.action(async (args) => {
|
.action(async (args) => {
|
||||||
const p = parsePaytoUri(args.genSegwit.paytoUri);
|
const p = parsePaytoUri(args.genSegwit.paytoUri);
|
||||||
if (p?.isKnown && p?.targetType === "bitcoin") {
|
|
||||||
p.generateSegwitAddress(args.genSegwit.reservePub);
|
|
||||||
}
|
|
||||||
console.log(p);
|
console.log(p);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user