Skip to content

Commit

Permalink
Merge pull request #375 from daostack/fixGetThreshold
Browse files Browse the repository at this point in the history
avoid MM problems when client passes-in object with synchronous web3 calls
  • Loading branch information
jellegerbrandy authored Nov 21, 2018
2 parents e9c158e + 63aaf38 commit fd8a64b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/wrappers/genesisProtocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export class GenesisProtocolWrapper extends IntVoteInterfaceWrapper
}

this.logContractFunctionCall("GenesisProtocol.threshold",
{ schemeInfo, avatarAddress, votingMachineParamsHash, organizationId });
{ address: schemeInfo.address, avatarAddress, votingMachineParamsHash, organizationId });

return this.contract.threshold(votingMachineParamsHash, organizationId);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@daostack/arc.js",
"version": "0.0.0-alpha.89",
"version": "0.0.0-alpha.90",
"description": "A JavaScript library for interacting with @daostack/arc ethereum smart contracts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit fd8a64b

Please sign in to comment.