Fix pointed out by kazcw to get the same results in electrum.py and bloc...

...kchain.py