Skip to content

Commit

Permalink
Merge pull request #3480 from dusk-network/bug-3479-move-getaddressinfo
Browse files Browse the repository at this point in the history
web-wallet: Refactor getAddressInfo location
  • Loading branch information
kieranhall authored Feb 11, 2025
2 parents 0cb1f28 + b778e6f commit 46f6371
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web-wallet/src/lib/components/Send/Send.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
mdiWalletOutline,
} from "@mdi/js";
import { areValidGasSettings } from "$lib/contracts";
import { getAddressInfo } from "$lib/wallet";
import { duskToLux, luxToDusk } from "$lib/dusk/currency";
import { getAddressInfo, makeClassName } from "$lib/dusk/string";
import { makeClassName } from "$lib/dusk/string";
import { logo } from "$lib/dusk/icons";
import {
AnchorButton,
Expand Down
1 change: 0 additions & 1 deletion web-wallet/src/lib/dusk/string/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ export { default as hexStringToBytes } from "./hexStringToBytes";
export { default as makeClassName } from "./makeClassName";
export { default as middleEllipsis } from "./middleEllipsis";
export { default as randomUUID } from "./randomUUID";
export { default as getAddressInfo } from "./getAddressInfo";
File renamed without changes.
1 change: 1 addition & 0 deletions web-wallet/src/lib/wallet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export { default as decryptBuffer } from "./decryptBuffer";
export { default as decryptMnemonic } from "./decryptMnemonic";
export { default as encryptBuffer } from "./encryptBuffer";
export { default as encryptMnemonic } from "./encryptMnemonic";
export { default as getAddressInfo } from "./getAddressInfo";
export { default as getSeedFromMnemonic } from "./getSeedFromMnemonic";
export { default as initializeWallet } from "./initializeWallet";
export { default as notesArrayToMap } from "./notesArrayToMap";
Expand Down

0 comments on commit 46f6371

Please sign in to comment.