Skip to content

Commit

Permalink
Remove unused "toggleDropDown()" (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSKitty authored Oct 1, 2024
1 parent 30a595b commit 858f542
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions scripts/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -734,11 +734,6 @@ export async function sweepAddress(arrUTXOs, sweepingMasterKey, nFixedFee) {
return await getNetwork().sendTransaction(tx.serialize());
}

export function toggleDropDown(id) {
const domID = document.getElementById(id);
domID.style.display = domID.style.display === 'block' ? 'none' : 'block';
}

export function isMasternodeUTXO(cUTXO, cMasternode) {
if (cMasternode?.collateralTxId) {
const { collateralTxId, outidx } = cMasternode;
Expand Down
1 change: 0 additions & 1 deletion scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export {
importMasternode,
destroyMasternode,
startMasternode,
toggleDropDown,
createProposal,
switchSettings,
govVote,
Expand Down

0 comments on commit 858f542

Please sign in to comment.