fix dogecoin problems from https://github.com/dogecoin/dogecoin/issues/1...

Dogecoin problems: https://github.com/dogecoin/dogecoin/issues/148