commit ebbc46cdda495fd54d1b83195c818b3ff714cd29
parent 9360209fa6612368a32cdc0526533b2098b2f753
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Sat, 26 Apr 2025 10:19:22 +0200
spelling
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkg/rest/mailbox.go b/pkg/rest/mailbox.go
@@ -76,7 +76,7 @@ type Mailbox struct {
MessageResponseLimit uint64
}
-// VersionResponse is the JSON response of the /config enpoint
+// VersionResponse is the JSON response of the /config endpoint
type VersionResponse struct {
// libtool-style representation of the Merchant protocol version, see
// https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
@@ -113,7 +113,7 @@ type MessageDeletionRequest struct {
Checksum string
// Signature by the mailbox's private key affirming
- // the deletion of the messages, of purpuse
+ // the deletion of the messages, of purpose
// TALER_SIGNATURE_WALLET_MAILBOX_DELETE_MESSAGES.
WalletSig string `json:"wallet_sig"`
}
@@ -242,7 +242,7 @@ func (m *Mailbox) sendMessageResponse(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusInternalServerError)
return
}
- // Check for oder again to get payto.
+ // Check for order again to get payto.
_, _, payto, paytoErr = m.Merchant.IsOrderPaid(orderId)
if paytoErr != nil {
fmt.Println(paytoErr)