Skip to content

Commit

Permalink
feat: make PolymathRegistryAddress an optional arg in connect method
Browse files Browse the repository at this point in the history
  • Loading branch information
shuffledex committed Dec 11, 2019
1 parent b4cf1de commit 1728816
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Polymath.ts
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 1728816

Please sign in to comment.