small fixes

This commit is contained in:
Ricardo Guilherme Schmidt 2019-03-29 06:56:04 -03:00
parent 1648936e2e
commit e4e3cc36c5
No known key found for this signature in database
GPG Key ID: BFB3F5C8ED618A94
3 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ class MSWAddOwner extends React.Component {
const toSend = this.state.mswInstance.methods.addOwner(input.owner); const toSend = this.state.mswInstance.methods.addOwner(input.owner);
const MsSend = this.state.mswInstance.submitTransaction( const MsSend = this.state.mswInstance.submitTransaction(
this.state.mswInstance.address, 0, toSend.encodeABI this.state.mswInstance._address, 0, toSend.encodeABI
) )
const estimatedGas = await MsSend.estimateGas({from: this.state.account}); const estimatedGas = await MsSend.estimateGas({from: this.state.account});

View File

@ -31,7 +31,7 @@ class MSWOwnerTable extends React.Component {
const toSend = this.state.mswInstance.methods.removeOwner(account); const toSend = this.state.mswInstance.methods.removeOwner(account);
const MsSend = this.state.mswInstance.submitTransaction( const MsSend = this.state.mswInstance.submitTransaction(
this.state.mswInstance.address, 0, toSend.encodeABI this.state.mswInstance._address, 0, toSend.encodeABI
) )
const estimatedGas = await MsSend.estimateGas({from: this.state.account}); const estimatedGas = await MsSend.estimateGas({from: this.state.account});

View File

@ -1,7 +1,7 @@
{ {
"name": "status-contracts", "name": "status-multisig",
"version": "0.0.1", "version": "0.0.1",
"description": "", "description": "Simple multisig UI",
"scripts": { "scripts": {
"test": "embark test" "test": "embark test"
}, },