Fix wallet headings, loading existing smsges and amount compare precision.

This commit is contained in:
tecnovert
2019-07-30 23:06:33 +02:00
parent 1da0d06ef0
commit ef77a9e012
4 changed files with 40 additions and 9 deletions

View File

@@ -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):