Skip to content

Commit

Permalink
Forgot return when err
Browse files Browse the repository at this point in the history
  • Loading branch information
crossle committed Oct 14, 2018
1 parent d9ba64a commit 564937f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/wallet.go
Expand Up @@ -24,13 +24,15 @@ func main() {
user, userSessionKey, err := createUser(ctx)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(user)
fmt.Println(userSessionKey)

err = setupPin(ctx, "123456", user, userSessionKey)
if err != nil {
fmt.Println(err)
return
}
fmt.Println("Setup PIN successful")
}
Expand Down

0 comments on commit 564937f

Please sign in to comment.