Fix: added max_digits field to amount fields