Skip to content

Commit

Permalink
correcting examples code
Browse files Browse the repository at this point in the history
  • Loading branch information
ac4ch committed May 14, 2024
1 parent cb92eb8 commit afe07aa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions examples/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ func main() {
keys, _ := xpriv.Generate()

// Create a client
client, _ := walletclient.New(
walletclient.WithXPriv(keys.XPriv()),
walletclient.WithHTTP("localhost:3001"),
walletclient.WithSignRequest(true),
)
fmt.Println(client.IsSignRequest())
wc, _ := walletclient.NewWalletClientWithXPrivate(keys.XPriv(), "localhost:3001", true)
fmt.Println(wc.IsSignRequest())
}

0 comments on commit afe07aa

Please sign in to comment.