chore(omnl): consolidate portal and domain routing updates
Capture non-secret OMNL portal, journal, chain, and nginx routing updates from the operator cleanup session while leaving generated auth includes unstaged. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -100,9 +100,8 @@ func (s *ReserveManagerContract) CreateReserve(ctx contractapi.TransactionContex
|
||||
return fmt.Errorf("reserve %s already exists", request.ReserveID)
|
||||
}
|
||||
|
||||
// Parse total amount
|
||||
totalAmount, err := strconv.ParseFloat(request.TotalAmount, 64)
|
||||
if err != nil {
|
||||
// Validate total amount parses as a number
|
||||
if _, err := strconv.ParseFloat(request.TotalAmount, 64); err != nil {
|
||||
return fmt.Errorf("invalid total amount: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user