gui: Added confirm step and fee options.

Fee options only apply to the script coin side of xmr swaps.
This commit is contained in:
tecnovert
2020-12-16 23:19:39 +02:00
parent 5cd8286aa3
commit b3c00efe16
12 changed files with 317 additions and 69 deletions

View File

@@ -203,8 +203,8 @@ class CoinInterface:
def __init__(self):
self._unknown_wallet_seed = True
def make_int(self, amount_in):
return make_int(amount_in, self.exp())
def make_int(self, amount_in, r=0):
return make_int(amount_in, self.exp(), r=r)
def format_amount(self, amount_in, conv_int=False):
amount_int = make_int(amount_in, self.exp()) if conv_int else amount_in