Skip to content

Commit

Permalink
token count condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Jul 12, 2024
1 parent 8a80a32 commit a782594
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ func (c *Core) initiateRBTTransfer(reqID string, req *model.RBTTransferRequest)

// This flag indicates if the call is made for Self Transfer or general token transfer
isSelfRBTTransfer := senderDID == receiverdid
if req.TokenCount < MinDecimalValue(MaxDecimalPlaces) {
resp.Message = "Input transaction amount is less than minimum transaction amount"
return resp
}

dc, err := c.SetupDID(reqID, senderDID)
if err != nil {
Expand Down

0 comments on commit a782594

Please sign in to comment.