Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Oct 2, 2023
1 parent 481fb79 commit 1cd278e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/ledger-icp/src/errors/ledger.errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export class TransferError extends Error {}

export class InvalidSenderError extends TransferError {}

export class InvalidAccountIDError extends Error {}

export class InsufficientFundsError extends TransferError {
constructor(public readonly balance: bigint) {
super();
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export { ICP } from "./icp";
export { LedgerCanister } from "./ledger.canister";
export * from "./types/ledger.options";
export * from "./utils/account_identifier.utils";
export * from "./utils/accounts.utils";
export * from "./utils/accounts.utils";
2 changes: 1 addition & 1 deletion packages/ledger-icp/src/utils/accounts.utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { bigEndianCrc32 } from "@dfinity/utils";
import { InvalidAccountIDError } from "../errors/governance.errors";
import { InvalidAccountIDError } from "../errors/ledger.errors";

/**
* Checks account id check sum
Expand Down

0 comments on commit 1cd278e

Please sign in to comment.