Skip to content

Commit cdf6839

Browse files
committed
remove registry string, add more vars to URL
1 parent 12c94d8 commit cdf6839

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/sptool/premium.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ func pay(cctx *cli.Context) error {
250250
qry.Add("timestamp", strconv.FormatInt(time.Now().Unix(), 10))
251251
qry.Add("MessageCID", res.Message.String())
252252
qry.Add("walletID", walletID)
253+
qry.Add("exchangeRate", rt.String())
254+
qry.Add("blockHeight", res.Height.String())
255+
qry.Add("amount", costFil.String())
253256
message := qry.Encode()
254257
sig, err := full.WalletSign(cctx.Context, walletAddress, []byte(message))
255258
if err != nil {
@@ -262,6 +265,5 @@ func pay(cctx *cli.Context) error {
262265
qry.Add("txnSign", hex.EncodeToString(txnSig))
263266
fmt.Println(`Complete/Verify your registration at:
264267
https://market.curiostorage.org/pay/verify/?` + qry.Encode())
265-
fmt.Println("Purchase registered with Curio team")
266268
return nil
267269
}

0 commit comments

Comments
 (0)