retrieval: payment validation

This commit is contained in:
Łukasz Magiera
2019-09-16 23:25:23 +02:00
parent 0a853ac0e7
commit 9fe198dc6f
12 changed files with 54 additions and 28 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ var paychVoucherAddCmd = &cli.Command{
ctx := ReqContext(cctx)
// TODO: allow passing proof bytes
if err := api.PaychVoucherAdd(ctx, ch, sv, nil); err != nil {
if _, err := api.PaychVoucherAdd(ctx, ch, sv, nil, types.NewInt(0)); err != nil {
return err
}