Skip to content

Commit

Permalink
Merge pull request #146 from PolymathNetwork/feat/optional-polymath-r…
Browse files Browse the repository at this point in the history
…egistry-address

feat: make PolymathRegistryAddress an optional arg in connect method
  • Loading branch information
monitz87 committed Dec 11, 2019
2 parents 95d0e2f + 9550f96 commit 6ff88e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Polymath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { PolymathError } from './PolymathError';
import { PolymathBase } from './PolymathBase';

interface PolymathNetworkParams {
polymathRegistryAddress: string;
polymathRegistryAddress?: string;
speed?: TransactionSpeed;
}

Expand Down Expand Up @@ -61,8 +61,6 @@ export class Polymath {

public isConnected: boolean = false;

public polymathRegistryAddress: string = '';

private context: Context = {} as Context;

public connect: Connect = async ({
Expand Down

0 comments on commit 6ff88e6

Please sign in to comment.