deals: Wait for channel messagi in handler

This commit is contained in:
Łukasz Magiera
2019-09-13 19:59:10 +02:00
parent c121d9b8af
commit 6a31ff2f2e
10 changed files with 53 additions and 30 deletions
+2 -2
View File
@@ -48,12 +48,12 @@ var paychCreateCmd = &cli.Command{
ctx := ReqContext(cctx)
addr, err := api.PaychCreate(ctx, from, to, amt)
info, err := api.PaychCreate(ctx, from, to, amt)
if err != nil {
return err
}
fmt.Println(addr.String())
fmt.Println(info.Channel.String())
return nil
},
}