add BuyCryptoOrder and SellCryptoOrder entities
This commit is contained in:
@@ -14,7 +14,7 @@ currency = Currency.create!(name: "CAKE")
|
||||
Balance.create!(
|
||||
user_id: user.id,
|
||||
currency_id: currency.id,
|
||||
amount: (rand * (10000 - 0) + 0)
|
||||
amount: rand * 10000
|
||||
)
|
||||
|
||||
FiatBalance.create!(user_id: user.id, amount_cents: 15000)
|
||||
|
||||
Reference in New Issue
Block a user