Electrum: removed dead code