@@ -46,7 +46,7 @@ export default function Bitcoin() {
4646 const pubKey = need.urbitWallet(urbitWallet).bitcoin.keys.public;
4747 const chain = need.urbitWallet(urbitWallet).bitcoin.keys.chain;
4848
49− const hd = bitcoin.bip32.fromPrivateKey(
49+ const btcWallet = bitcoin.bip32.fromPrivateKey(
5050 Buffer.from(privKey, 'hex'),
5151 Buffer.from(chain, 'hex'),
5252 bitcoin.networks.bitcoin
@@ -63,7 +63,7 @@ export default function Bitcoin() {
6363 );
6464
6565 const validate = composeValidator({
66− unsignedTransaction: buildPsbtValidator(hd),
66+ unsignedTransaction: buildPsbtValidator(btcWallet),
6767 });
6868
6969 const onValues = ({ valid, values, form }) => {
@@ -73,7 +73,7 @@ export default function Bitcoin() {
7373 .reduce((psbt, input, idx) => {
7474 // removing already derived part, eg m/84'/0'/0'/0/0 becomes 0/0
7575 const path = input.bip32Derivation[0].path.substring(12);
76− const prv = hd.derivePath(path).privateKey;
76+ const prv = btcWallet.derivePath(path).privateKey;
7777 try {
7878 return psbt.signInput(idx, bitcoin.ECPair.fromPrivateKey(prv));
7979 } catch (e) {