diff --git a/src/helpers/useGovernanceDelegate.tsx b/src/helpers/useGovernanceDelegate.tsx index abf053c340..3c0a0d6514 100644 --- a/src/helpers/useGovernanceDelegate.tsx +++ b/src/helpers/useGovernanceDelegate.tsx @@ -104,8 +104,8 @@ export const useGovernanceDelegate = ( console.log('SIGNATURE', signatures); const { v: v1, r: r1, s: s1 } = utils.splitSignature(signatures[0]); - // const { v: v2, r: r2, s: s2 } = utils.splitSignature(signatures[1]); - // const { v: v3, r: r3, s: s3 } = utils.splitSignature(signatures[2]); + const { v: v2, r: r2, s: s2 } = utils.splitSignature(signatures[1]); + const { v: v3, r: r3, s: s3 } = utils.splitSignature(signatures[2]); let txs: EthereumTransactionTypeExtended[] = []; @@ -135,7 +135,7 @@ export const useGovernanceDelegate = ( v: utils.splitSignature(signatures[1]).v, r: utils.splitSignature(signatures[1]).r, s: utils.splitSignature(signatures[1]).s, - delegationType: DelegationType.BOTH, + delegationType: GovernancePowerTypeApp.All, }, { delegator: user, @@ -145,7 +145,7 @@ export const useGovernanceDelegate = ( v: utils.splitSignature(signatures[2]).v, r: utils.splitSignature(signatures[2]).r, s: utils.splitSignature(signatures[2]).s, - delegationType: DelegationType.BOTH, + delegationType: GovernancePowerTypeApp.All, }, ]; @@ -465,7 +465,7 @@ export const useGovernanceDelegate = ( deadline, nonce: String(stkAaveNonce), delegationType: GovernancePowerTypeApp.All, - governanceTokenName: 'Staked Token', + governanceTokenName: 'Staked Aave', increaseNonce: false, }, { diff --git a/src/modules/governance/DelegatedInfoPanel.tsx b/src/modules/governance/DelegatedInfoPanel.tsx index 0e7667be5a..a054b4e9e5 100644 --- a/src/modules/governance/DelegatedInfoPanel.tsx +++ b/src/modules/governance/DelegatedInfoPanel.tsx @@ -62,7 +62,7 @@ const DelegatedPower: React.FC = ({ >