fix segwit api

This commit is contained in:
Sebastian 2022-04-22 16:08:32 -03:00
parent 1a06f67006
commit 8e468ae092
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -749,9 +749,6 @@ advancedCli
.requiredArgument("reservePub", clk.STRING)
.action(async (args) => {
const p = parsePaytoUri(args.genSegwit.paytoUri);
if (p?.isKnown && p?.targetType === "bitcoin") {
p.generateSegwitAddress(args.genSegwit.reservePub);
}
console.log(p);
});