retrieval: payment validation
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user