Implement transfer creation #19

Merged
jacob1123 merged 5 commits from enable-transfers into master 2022-02-24 00:13:20 +01:00
Showing only changes of commit bbbeff92e8 - Show all commits

View File

@ -62,6 +62,8 @@ func (h *Handler) newTransaction(c *gin.Context) {
c.AbortWithError(http.StatusInternalServerError, fmt.Errorf("create transfer transaction: %w", err))
return
}
newTransaction.Amount = amount
} else {
payeeID, err := GetPayeeID(c.Request.Context(), payload, h)
if err != nil {