command for confirmPay
This commit is contained in:
parent
6169739525
commit
e0ee0e39bb
@ -520,6 +520,18 @@ advancedCli
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
advancedCli
|
||||||
|
.subcommand("payConfirm", "pay-confirm", {
|
||||||
|
help: "Confirm payment proposed by a merchant.",
|
||||||
|
})
|
||||||
|
.requiredArgument("proposalId", clk.STRING)
|
||||||
|
.maybeOption("sessionIdOverride", ["--session-id"], clk.STRING)
|
||||||
|
.action(async (args) => {
|
||||||
|
await withWallet(args, async (wallet) => {
|
||||||
|
wallet.confirmPay(args.payConfirm.proposalId, args.payConfirm.sessionIdOverride);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
advancedCli
|
advancedCli
|
||||||
.subcommand("refresh", "force-refresh", {
|
.subcommand("refresh", "force-refresh", {
|
||||||
help: "Force a refresh on a coin.",
|
help: "Force a refresh on a coin.",
|
||||||
|
Loading…
Reference in New Issue
Block a user