refactor: use special type for paych wait sentinel

This commit is contained in:
Dirk McCormick
2020-08-11 10:45:45 -04:00
parent 657b390193
commit a881e58cd6
7 changed files with 85 additions and 55 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ var paychGetCmd = &cli.Command{
}
// Wait for the message to be confirmed
chAddr, err := api.PaychGetWaitReady(ctx, info.ChannelMessage)
chAddr, err := api.PaychGetWaitReady(ctx, info.WaitSentinel)
if err != nil {
return err
}