Skip to content
Browse files

Merge pull request LedgerHQ#56 from clementperon/dev

Reallow amount in Decimal format and fix Gif format
  • Loading branch information...
TamtamHero committed Feb 1, 2019
2 parents 331fc3f + 58dca75 commit 855d47b5af88a1a0b5be0291e745faf2d09d704a
@@ -22,6 +22,8 @@ include $(BOLOS_SDK)/Makefile.defines

# Allow the app to use path 45 for multi-sig (see BIP45).
APP_LOAD_PARAMS += --path "45'"

@@ -21,6 +21,7 @@

from ledgerblue.comm import getDongle
from ledgerblue.commException import CommException
from decimal import Decimal
import argparse
import struct
import binascii
@@ -51,7 +52,7 @@ def parse_bip32_path(path):
parser.add_argument('--nonce', help="Nonce associated to the account", type=int, required=True)
parser.add_argument('--gasprice', help="Network gas price", type=int, required=True)
parser.add_argument('--startgas', help="startgas", default='21000', type=int)
parser.add_argument('--amount', help="Amount to send in ether", type=int, required=True)
parser.add_argument('--amount', help="Amount to send in ether", required=True)
parser.add_argument('--to', help="Destination address", type=str, required=True)
parser.add_argument('--path', help="BIP 32 path to sign with")
parser.add_argument('--data', help="Data to add, hex encoded")
@@ -65,7 +66,7 @@ def parse_bip32_path(path):
else: = decode_hex([2:])

amount = args.amount * 10**18
amount = Decimal(args.amount) * 10**18

tx = Transaction(
BIN -1.5 KB (32%) glyphs/blue_badge_akroma.gif
Binary file not shown.
BIN -849 Bytes (40%) glyphs/blue_badge_callisto.gif
Binary file not shown.
BIN -861 Bytes (38%) glyphs/blue_badge_ellaism.gif
Binary file not shown.
BIN -360 Bytes (68%) glyphs/blue_badge_ethergem.gif
Binary file not shown.
BIN -925 Bytes (39%) glyphs/blue_badge_ethersocial.gif
Binary file not shown.
BIN -4.59 KB (11%) glyphs/blue_badge_wanchain.gif
Binary file not shown.

0 comments on commit 855d47b

Please sign in to comment.
You can’t perform that action at this time.