From 0d55be3773dccde8ce7eec0e8a6f0c531a99aba2 Mon Sep 17 00:00:00 2001 From: David Colon <38386583+Da-Colon@users.noreply.github.com> Date: Fri, 15 Mar 2024 13:16:26 -0400 Subject: [PATCH] asProvider -> asSigner for DelegateModal --- src/components/ui/modals/DelegateModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/modals/DelegateModal.tsx b/src/components/ui/modals/DelegateModal.tsx index d177516cb4..c65bdceff1 100644 --- a/src/components/ui/modals/DelegateModal.tsx +++ b/src/components/ui/modals/DelegateModal.tsx @@ -44,7 +44,7 @@ export function DelegateModal({ close }: { close: Function }) { validAddress = await signer!.resolveName(values.address); } const votingTokenContract = - baseContracts.votesERC20WrapperMasterCopyContract.asProvider.attach( + baseContracts.votesERC20WrapperMasterCopyContract.asSigner.attach( votesTokenContractAddress, ); delegateVote({