Skip to content

Commit fc3aa98

Browse files
committed
fix(swap): convert nonce and deadline to strings
1 parent f658c22 commit fc3aa98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/handler/swap/swap.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ func (h *handler) GenerateSignature(c *gin.Context) {
110110

111111
c.JSON(http.StatusOK, view.CreateResponse[any](map[string]interface{}{
112112
"signature": signature,
113-
"nonce": nonce,
114-
"deadline": deadline,
113+
"nonce": nonce.String(),
114+
"deadline": deadline.String(),
115115
"icy_amount": icyAmount.Value,
116116
"btc_amount": btcAmount.Value,
117117
}, nil, nil, "signature generated successfully"))

0 commit comments

Comments
 (0)