Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinGreen committed Dec 5, 2023
1 parent fe343f3 commit a2bfd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/token-voting/LlamaTokenVotingFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ contract LlamaTokenVotingFactory {
uint256 minApprovalPct,
uint256 minDisapprovalPct
) external returns (address actionCreator, address caster) {
ILlamaCore core = ILlamaCore(ILlamaExecutor(executor).LLAMA_CORE());
ILlamaCore core = ILlamaCore(ILlamaExecutor(msg.sender).LLAMA_CORE());
if (isERC20) {
actionCreator = address(_deployERC20TokenholderActionCreator(ERC20Votes(token), core, creationThreshold));
caster = address(_deployERC20TokenholderCaster(ERC20Votes(token), core, 0, minApprovalPct, minDisapprovalPct));
Expand Down

0 comments on commit a2bfd00

Please sign in to comment.