mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Fix overflow on markettick value with some currencies
This commit is contained in:
parent
c9cdc2743d
commit
f111130273
@ -482,7 +482,7 @@ class MarketTick(models.Model):
|
||||
|
||||
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
|
||||
price = models.DecimalField(
|
||||
max_digits=10,
|
||||
max_digits=16,
|
||||
decimal_places=2,
|
||||
default=None,
|
||||
null=True,
|
||||
@ -544,4 +544,4 @@ class MarketTick(models.Model):
|
||||
|
||||
class Meta:
|
||||
verbose_name = "Market tick"
|
||||
verbose_name_plural = "Market ticks"
|
||||
verbose_name_plural = "Market ticks"
|
Loading…
Reference in New Issue
Block a user