Skip to content

Commit

Permalink
Merge pull request starknet-io#360 from 0xs34n/fix/issue-359
Browse files Browse the repository at this point in the history
fix issue 359
  • Loading branch information
tabaktoni authored Oct 14, 2022
2 parents 0f685ef + 95e7e47 commit be50c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class Contract implements ContractInterface {
address: string,
providerOrAccount: ProviderInterface | AccountInterface = defaultProvider
) {
this.address = address.toLowerCase();
this.address = address && address.toLowerCase();
this.providerOrAccount = providerOrAccount;
this.abi = abi;
this.structs = abi
Expand Down

0 comments on commit be50c90

Please sign in to comment.