Skip to content

Commit

Permalink
fix: application from cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
namnhce committed Nov 13, 2023
1 parent be3220d commit 4107069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mochi/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (c *Client) Transfer(req *model.TransferRequest) ([]model.Transaction, erro

signature := ed25519.Sign(privateKey, []byte(messageHeader))
request.Header.Add("X-Message", messageHeader)
request.Header.Add("X-Application", "Guess Game")
request.Header.Add("X-Application", c.cfg.MochiPay.ApplicationName)
request.Header.Add("X-Signature", hex.EncodeToString(signature))

resp, err := client.Do(request)
Expand Down

0 comments on commit 4107069

Please sign in to comment.