Strange LockTime values in Electrum transactions? Electrum includes a locktime in all transactions by default.

Usually the value is equal to the current block height, eg 592918, however it sometimes drops perhaps 20 or so blocks.

What is going on here?
The locktime value is deliberately set to discourage a subtle attack known as "Fee sniping" and randomly set to an earlier block height to improve privacy (eg for CoinJoin users that need more setup time).

This is also done in Bitcoin Core with the nLockTime.