keybase/node-bitcoin — pull request #2 by TheBigS (2014-02-17 00:03:02+00:00)
Title: Fixed privateKeyPrefix for alt-currencies

So it turns out we have to fix the privateKeyPrefix too, otherwise the private
key created in the wallet import format will be not contain the correct prefix
and most wallets will reject it.

Fixed calculation of privateKeyPrefix, this will allow node-bitcoin to actually
generate correctly formatted private keys in the private key import format.

This has been tested for Dogecoin and successfully side-loaded into a client.