adapt temporarily for litecoin