Skip to content

Commit

Permalink
remove registry string, add more vars to URL
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr committed Sep 17, 2024
1 parent b8f40cc commit e0565f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/sptool/premium.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ func pay(cctx *cli.Context) error {
qry.Add("timestamp", strconv.FormatInt(time.Now().Unix(), 10))
qry.Add("MessageCID", res.Message.String())
qry.Add("walletID", walletID)
qry.Add("exchangeRate", rt.String())
qry.Add("blockHeight", res.Height.String())
qry.Add("amount", costFil.String())
message := qry.Encode()
sig, err := full.WalletSign(cctx.Context, walletAddress, []byte(message))
if err != nil {
Expand All @@ -262,6 +265,5 @@ func pay(cctx *cli.Context) error {
qry.Add("txnSign", hex.EncodeToString(txnSig))
fmt.Println(`Complete/Verify your registration at:
https://market.curiostorage.org/pay/verify/?` + qry.Encode())
fmt.Println("Purchase registered with Curio team")
return nil
}

0 comments on commit e0565f2

Please sign in to comment.