mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Fix wallet headings, loading existing smsges and amount compare precision.
This commit is contained in:
@@ -18,6 +18,11 @@ from xmlrpc.client import (
|
||||
from .segwit_addr import bech32_decode, convertbits, bech32_encode
|
||||
|
||||
COIN = 100000000
|
||||
DCOIN = decimal.Decimal(COIN)
|
||||
|
||||
|
||||
def makeInt(v):
|
||||
return int(dquantize(decimal.Decimal(v) * DCOIN).quantize(decimal.Decimal(1)))
|
||||
|
||||
|
||||
def format8(i):
|
||||
|
||||
Reference in New Issue
Block a user