chris-belcher / electrum-personal-server

Maximally lightweight electrum server for a single user
MIT License
600 stars 109 forks source link

Startup error with electrum #290

Open Flexcash opened 1 year ago

Flexcash commented 1 year ago

Hey I found this issue running Btc pay server on the last version. Trying to run Electrum:

INFO:2023-04-27 19:04:31,587: Synchronizing mempool . . . Traceback (most recent call last): File "/usr/local/bin/electrum-personal-server", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/site-packages/electrumpersonalserver/server/common.py", line 491, in main run_electrum_server(rpc, txmonitor, config) File "/usr/local/lib/python3.8/site-packages/electrumpersonalserver/server/common.py", line 118, in run_electrum_server mempool_sync.initial_sync(logger) File "/usr/local/lib/python3.8/site-packages/electrumpersonalserver/server/mempoolhistogram.py", line 57, in initial_sync self.poll_update(-1) File "/usr/local/lib/python3.8/site-packages/electrumpersonalserver/server/mempoolhistogram.py", line 111, in poll_update fee_rate = 1e8*mempool_tx["fee"] // mempool_tx["vsize"] KeyError: 'fee'

I have found this issue before here: #266