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:
defiQUG
2026-07-07 09:57:01 -07:00
parent 8ee8930b5b
commit 6dcadc86a2
10 changed files with 159 additions and 60 deletions

View File

@@ -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)
}