mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Move js functions to new file.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user