Skip to content

Commit

Permalink
fix(core-tester-framework): import scope (#3658)
Browse files Browse the repository at this point in the history
  • Loading branch information
KovacZan authored Apr 23, 2020
1 parent a9254a3 commit 37cb56e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/core-test-framework/src/utils/mapper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Models } from "@packages/core-database";
import { Interfaces, Utils } from "@packages/crypto";
import { Models } from "@arkecosystem/core-database";
import { Interfaces, Utils } from "@arkecosystem/crypto";

export const mapTransactionToModel = (
transaction: Interfaces.ITransaction,
Expand Down
8 changes: 4 additions & 4 deletions packages/core-test-framework/src/utils/transaction-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ interface IPassphrasePair {

// todo: replace this by the use of real factories
export class TransactionFactory {
private builder: any;
protected builder: any;
protected app: Contracts.Kernel.Application;

private network: Types.NetworkName = "testnet";
private networkConfig: Interfaces.NetworkConfig | undefined;
private nonce: Utils.BigNumber | undefined;
Expand All @@ -31,9 +33,7 @@ export class TransactionFactory {
private senderPublicKey: string | undefined;
private expiration: number | undefined;

private app: Contracts.Kernel.Application;

private constructor(app?: Contracts.Kernel.Application) {
protected constructor(app?: Contracts.Kernel.Application) {
// @ts-ignore - this is only needed because of the "getNonce"
// method so we don't care if it is undefined in certain scenarios
this.app = app;
Expand Down

0 comments on commit 37cb56e

Please sign in to comment.