fix adding new owner

This commit is contained in:
Mikhail Mikheev 2019-06-28 16:12:50 +04:00
parent 9cbc31b9ae
commit 8d82e19fcc
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ export const sendAddOwner = async (
const txData = gnosisSafe.contract.methods.addOwnerWithThreshold(values.ownerAddress, values.threshold).encodeABI() const txData = gnosisSafe.contract.methods.addOwnerWithThreshold(values.ownerAddress, values.threshold).encodeABI()
const txHash = await createTransaction(safeAddress, safeAddress, 0, txData, openSnackbar) const txHash = await createTransaction(safeAddress, safeAddress, 0, txData, openSnackbar)
if (txHash) { if (txHash) {
updateSafe({ updateSafe({
address: safeAddress, address: safeAddress,

View File

@ -185,6 +185,7 @@ class ManageOwners extends React.Component<Props, State> {
network={network} network={network}
userAddress={userAddress} userAddress={userAddress}
createTransaction={createTransaction} createTransaction={createTransaction}
updateSafe={updateSafe}
/> />
<RemoveOwnerModal <RemoveOwnerModal
onClose={this.onHide('RemoveOwner')} onClose={this.onHide('RemoveOwner')}