keysend response: use snake case to be consistent

This commit is contained in:
kiwiidb
2022-12-29 14:26:46 +01:00
parent be8c129293
commit ed2eb2eeae

View File

@@ -46,7 +46,7 @@ type KeySendResponseBody struct {
Description string `json:"description,omitempty"`
DescriptionHash string `json:"description_hash,omitempty"`
Destination string `json:"destination,omitempty"`
CustomRecords map[string]string `json:"customRecords" validate:"omitempty"`
CustomRecords map[string]string `json:"custom_ecords" validate:"omitempty"`
PaymentPreimage string `json:"payment_preimage,omitempty"`
PaymentHash string `json:"payment_hash,omitempty"`
}