Skip to content

Commit

Permalink
refactor: move getNetworkForName to args/
Browse files Browse the repository at this point in the history
TICKET: BTC-1351
  • Loading branch information
OttoAllmendinger committed Sep 26, 2024
1 parent 81f3f28 commit 97e8dea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/utxo-bin/src/args/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './parseString';
export * from './walletKeys';
export * from './parseNetwork';
File renamed without changes.
12 changes: 10 additions & 2 deletions modules/utxo-bin/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@ import { AddressParser } from './AddressParser';
import { parseUnknown } from './parseUnknown';
import { getParserTxProperties } from './ParserTx';
import { ScriptParser } from './ScriptParser';
import { argToString, KeyOptions, keyOptions, readStringOptions, ReadStringOptions, stringToBuffer } from './args';
import {
argToString,
KeyOptions,
keyOptions,
readStringOptions,
ReadStringOptions,
stringToBuffer,
getNetwork,
getNetworkForName,
} from './args';
import {
formatAddressTree,
formatAddressWithFormatString,
Expand All @@ -27,7 +36,6 @@ import {
parseIndexRange,
} from './generateAddress';
import { parseXpub } from './bip32';
import { getNetwork, getNetworkForName } from './getNetworkForName';

type OutputFormat = 'tree' | 'json';

Expand Down

0 comments on commit 97e8dea

Please sign in to comment.