another still
This commit is contained in:
parent
52c20f02c7
commit
4387025c48
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ class DummyExchangeRateManager(object):
|
||||||
if market.rate.currency_pair[0] == from_currency:
|
if market.rate.currency_pair[0] == from_currency:
|
||||||
return self.convert_currency(market.rate.currency_pair[1], to_currency, amount * market.rate.spot)
|
return self.convert_currency(market.rate.currency_pair[1], to_currency, amount * market.rate.spot)
|
||||||
|
|
||||||
def to_lbc(self, fee):
|
def to_lbc(self, f):
|
||||||
|
fee = LBRYFeeValidator(f)
|
||||||
return LBRYFeeValidator({fee.currency_symbol:
|
return LBRYFeeValidator({fee.currency_symbol:
|
||||||
{
|
{
|
||||||
'amount': self.convert_currency(fee.currency_symbol, "LBC", fee.amount),
|
'amount': self.convert_currency(fee.currency_symbol, "LBC", fee.amount),
|
||||||
|
|
Loading…
Reference in a new issue