From ec4dd3888835387682948859ad555a9168517685 Mon Sep 17 00:00:00 2001 From: ciny Date: Tue, 3 Sep 2019 09:12:04 +0200 Subject: [PATCH] core: #482 fix binance divisibility --- core/src/apps/binance/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/apps/binance/helpers.py b/core/src/apps/binance/helpers.py index 0d3673f111..e6b09fe7da 100644 --- a/core/src/apps/binance/helpers.py +++ b/core/src/apps/binance/helpers.py @@ -17,8 +17,8 @@ MSG_CANCEL_BLUEPRINT = '{{"refid":"{refid}","sender":"{sender}","symbol":"{symbo INPUT_OUTPUT_BLUEPRINT = '{{"address":"{address}","coins":[{coins}]}}' COIN_BLUEPRINT = '{{"amount":"{amount}","denom":"{denom}"}}' -# 1*10^18 Jagers equal 1 BNB https://www.binance.vision/glossary/jager -DIVISIBILITY = const(18) +# 1*10^8 Jagers equal 1 BNB https://www.binance.vision/glossary/jager +DIVISIBILITY = const(8) def produce_json_for_signing(envelope: BinanceSignTx, msg) -> str: