fix helper python script that was signing garbage
@@ -63,6 +63,7 @@ parser.add_argument('--descriptor', help="Optional descriptor")
args = parser.parse_args()
if args.path == None:
+ # if you want to use the next account -> "44'/60'/1'/0/0"
args.path = "44'/60'/0'/0/0"
if args.data == None:
@@ -72,19 +73,16 @@ else:
amount = Decimal(args.amount) * 10**18
-tx = Transaction(
+tx = UnsignedTransaction(
nonce=int(args.nonce),
gasprice=int(args.gasprice),
startgas=int(args.startgas),
to=decode_hex(args.to[2:]),
value=int(amount),
data=args.data,
- v=CHAIN_ID,
- r=0,
- s=0
)
-encodedTx = encode(tx, Transaction)
+encodedTx = encode(tx, UnsignedTransaction)
dongle = getDongle(True)
