Skip to content

Commit

Permalink
Fix bug that uses Ledger as Code when creating transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Aug 28, 2024
1 parent 2b80a0c commit 0e07c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (s *Server) CreateTransfers(c *gin.Context) {
UserData32: ud32,
Timeout: 0,
Ledger: uint32(inTransfer.Ledger),
Code: uint16(inTransfer.Ledger),
Code: uint16(inTransfer.Code),
Flags: flags.ToUint16(),
Timestamp: 0,
})
Expand Down

0 comments on commit 0e07c55

Please sign in to comment.