Skip to content

Commit

Permalink
chore: linter fixes in supply chain example code
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz authored and kikoncuo committed Apr 13, 2021
1 parent 16077d4 commit 91916f0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,23 @@ export class SupplyChainAppDummyInfrastructure {
private _quorumAccount: Account | undefined;
private _besuAccount: Account | undefined;

public get quorumAccount() {
public get quorumAccount(): Account {
if (!this._quorumAccount) {
throw new Error(`Must call deployContracts() first.`);
} else {
return this._quorumAccount;
}
}

public get besuAccount() {
public get besuAccount(): Account {
if (!this._besuAccount) {
throw new Error(`Must call deployContracts() first.`);
} else {
return this._besuAccount;
}
}

public get className() {
public get className(): string {
return SupplyChainAppDummyInfrastructure.CLASS_NAME;
}

Expand Down

0 comments on commit 91916f0

Please sign in to comment.