Skip to content

Commit

Permalink
Merge pull request #303 from trilitech/fix-multisig-button
Browse files Browse the repository at this point in the history
Fix action buttion
  • Loading branch information
ryutamago authored Jul 27, 2023
2 parents d032779 + 4fbab00 commit 0d48b2b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export const MultisigActionButton: React.FC<{
const signer = getImplicitAccount(signerAddress.pkh);
const signerInOwnedAccounts = !!signer;

const approvedBySigner = !!operation.approvals.find(approver => approver === signerAddress);
const approvedBySigner = !!operation.approvals.find(
approver => approver.pkh === signerAddress.pkh
);
const operationIsExecutable = pendingApprovals === 0;

if (!signerInOwnedAccounts) {
Expand Down

0 comments on commit 0d48b2b

Please sign in to comment.