Fixes for Litecoin