Move js functions to new file.

This commit is contained in:
tecnovert
2020-11-28 00:20:35 +02:00
parent bc60527940
commit 327394e81b
8 changed files with 221 additions and 168 deletions

View File

@@ -192,4 +192,8 @@ chainparams = {
class CoinInterface:
pass
def format_amount(self, amount_int):
return format_amount(feerate, self.exp())
def coin_name(self):
return chainparams[self.coin_type()]['name'].capitalize()