diff --git a/app/sign.js b/app/sign.js index d77cde7..eeb3e88 100644 --- a/app/sign.js +++ b/app/sign.js @@ -342,7 +342,7 @@ const parseKey = function(rawkey, coin, path) { } // if it doesn't have commas, we expect it is an xprv or xlmsecret properly formatted if(path) { - let node = utxoLib.HDNode.fromPrivateKeyBuffer(Buffer.from(rawkey, 'hex')); + let node = utxoLib.HDNode.fromBase58(rawkey); node = node.derivePath(path); return node.toBase58(); }