Skip to content

Commit

Permalink
refactor: create utxo directory and move utxo.ts
Browse files Browse the repository at this point in the history
Ticket: BTC-1092

TICKET: BTC-1092
  • Loading branch information
lcovar committed Apr 12, 2024
1 parent 45bb7b6 commit 726f711
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import {
tofcHederaToken,
tofcStellarToken,
} from './ofc';
import { utxo, UtxoCoin } from './utxo';
import { utxo, UtxoCoin } from './utxo/utxo';

const BCH_FEATURES = [
...UtxoCoin.DEFAULT_FEATURES,
Expand Down
2 changes: 1 addition & 1 deletion modules/statics/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export * from './networks';
export * from './errors';
export * from './tokenConfig';
export { OfcCoin } from './ofc';
export { UtxoCoin } from './utxo';
export { UtxoCoin } from './utxo/utxo';
export {
AccountCoin,
CeloCoin,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BaseCoin, BaseUnit, CoinFeature, CoinKind, KeyCurve, UnderlyingAsset } from './base';
import { UtxoNetwork } from './networks';
import { BaseCoin, BaseUnit, CoinFeature, CoinKind, KeyCurve, UnderlyingAsset } from '../base';
import { UtxoNetwork } from '../networks';

export interface UtxoConstructorOptions {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion modules/statics/test/unit/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
UnderlyingAsset,
UtxoCoin,
} from '../../src';
import { utxo } from '../../src/utxo';
import { utxo } from '../../src/utxo/utxo';
import { expectedColdFeatures } from './fixtures/expectedColdFeatures';

interface DuplicateCoinObject {
Expand Down

0 comments on commit 726f711

Please sign in to comment.