fix adding new owner
This commit is contained in:
parent
9cbc31b9ae
commit
8d82e19fcc
|
@ -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,
|
||||||
|
|
|
@ -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')}
|
||||||
|
|
Loading…
Reference in New Issue