Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix: more dependency cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko13 committed Jan 10, 2024
1 parent 607d9b8 commit 593c48d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions src/actions/transactionActions.js
Expand Up @@ -281,6 +281,7 @@ export function setMaxSpendOnOutput(outputIndex) {
new BigNumber(confirmedBalance)
.minus(outputs.length > 1 ? totalOutputValue : 0)
.minus(estimatedFee)
.toFixed(8)
)
);

Expand Down
18 changes: 9 additions & 9 deletions src/components/ScriptExplorer/SignatureImporter.jsx
Expand Up @@ -631,16 +631,16 @@ function mapStateToProps(state, ownProps) {
...state.spend.transaction,
requiredSigners: state.settings.requiredSigners,
ledgerPolicyHmacs: state.wallet.common.ledgerPolicyHmacs,
extendedPublicKeys: Object.values(
state.quorum.extendedPublicKeyImporters
).map((key) => ({
bip32Path: getMaskedDerivation({
extendedPublicKeys: Object.values(state.quorum.extendedPublicKeyImporters)
.filter((key) => key.extendedPublicKey)
.map((key) => ({
bip32Path: getMaskedDerivation({
xpub: key.extendedPublicKey,
bip32Path: key.bip32Path,
}),
xfp: key.rootXfp,
xpub: key.extendedPublicKey,
bip32Path: key.bip32Path,
}),
xfp: key.rootXfp,
xpub: key.extendedPublicKey,
})),
})),
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.js
@@ -1,5 +1,5 @@
import BigNumber from "bignumber.js";
import { estimateMultisigTransactionFee } from "unchained-bitcoin/lib/fees";
import { estimateMultisigTransactionFee } from "unchained-bitcoin";

import { DUST_IN_SATOSHIS } from "./constants";

Expand Down

0 comments on commit 593c48d

Please sign in to comment.