Litecoin: refactor addrtype handling, closes #10