simpleledger / Electron-Cash-SLP

Electron Cash for SLP Tokens
https://simpleledger.cash/project/electron-cash-slp-edition/
MIT License
64 stars 53 forks source link

Error sending transaction from hardware wallet #236

Open dkaparis opened 2 years ago

dkaparis commented 2 years ago

Set up hardware wallet paired with a Ledger Nano X.

The wallet opens, pairs with the hardware device and correctly displays incoming transactions.

However, trying to send out a transaction fails. After confirming the transaction, this error message pops up: sign_transaction() got an unexpected keyword argument 'anyonecanpay'.

The following stack trace is dumped to console:

  File "/tmp/.mount_ElectrrIoIRa/usr/lib/python3.8/site-packages/electroncash_gui/qt/util.py", line 981, in run
    result = task.task()
  File "/tmp/.mount_ElectrrIoIRa/usr/lib/python3.8/site-packages/electroncash/wallet.py", line 2918, in sign_transaction
    k.sign_transaction(tx, password, use_cache=use_cache, anyonecanpay=anyonecanpay)
  File "/tmp/.mount_ElectrrIoIRa/usr/lib/python3.8/site-packages/electroncash_plugins/ledger/ledger.py", line 47, in catch_exception
    return func(self, *args, **kwargs)
  File "/tmp/.mount_ElectrrIoIRa/usr/lib/python3.8/site-packages/electroncash_plugins/ledger/ledger.py", line 274, in wrapper
    return func(self, *args, **kwargs)
TypeError: sign_transaction() got an unexpected keyword argument 'anyonecanpay'