mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-21 10:13:18 +00:00
Fix overflow by IRT on exchange_rate DecimalField
This commit is contained in:
@ -35,7 +35,7 @@ class Currency(models.Model):
|
|||||||
choices=currency_choices, null=False, unique=True
|
choices=currency_choices, null=False, unique=True
|
||||||
)
|
)
|
||||||
exchange_rate = models.DecimalField(
|
exchange_rate = models.DecimalField(
|
||||||
max_digits=14,
|
max_digits=18,
|
||||||
decimal_places=4,
|
decimal_places=4,
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
|
Reference in New Issue
Block a user