Skip to content

Commit

Permalink
asProvider -> asSigner for DelegateModal
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Mar 15, 2024
1 parent 777eb00 commit 0d55be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/modals/DelegateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 0d55be3

Please sign in to comment.