[spesmilo/electrum] Exception: invalid header 1354759 nonce: 1847009280 (#4658)

Crash Report
============

This crash report was reported through the automatic crash reporting system 🤖

Traceback
—————

«`Python traceback
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/util.py», line 772, in run_with_except_hook
run_original(*args2, **kwargs2)
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/network.py», line 985, in run
self.wait_on_sockets()
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/network.py», line 967, in wait_on_sockets
self.process_responses(interface)
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/network.py», line 626, in process_responses
self.process_response(interface, response, callbacks)
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/network.py», line 572, in process_response
self.on_get_header(interface, response)
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/network.py», line 826, in on_get_header
chain = blockchain.check_header(header)
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/blockchain.py», line 190, in check_header
if b.check_header(header):
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/blockchain.py», line 234, in check_header
header_hash = hash_header(header)
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/blockchain.py», line 163, in hash_header
return hash_encode(Hash(bfh(serialize_header(header))))
File «/usr/local/lib/python3.6/dist-packages/ElectrumPQ-3.1.3-py3.6.egg/electrumpq/blockchain.py», line 82, in serialize_header
raise Exception(«invalid header {} nonce: {}».format(height, nonce))

Exception: invalid header 1354759 nonce: 1847009280
«`

Reporter
————

This issue was reported by 1 user(s):

| Electrum Version | Python Version | Operating System | Wallet Type | Locale |
|—|—|—|—|—|
| 3.1.3 | | Linux-4.15.0-32-generic-x86_64-with-Ubuntu-18.04-bionic | bpq | en_US |

Additional Information
————————

The reporting user(s) did not provide additional information.