mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
type error
This commit is contained in:
parent
0eb19f5393
commit
85ebdd1d0f
|
@ -162,7 +162,7 @@ contract ConnectorsResolver is SmartAccountResolver {
|
|||
connectorsContract = ConnectorsInterface(indexContract.connectors(version));
|
||||
}
|
||||
|
||||
function getEnabledConnectores() public view returns(address[] memory){
|
||||
function getEnabledConnectors() public view returns(address[] memory){
|
||||
uint count = connectorsContract.count();
|
||||
address enabledAddr = connectorsContract.first();
|
||||
address[] memory addressess = new address[](count);
|
||||
|
@ -174,7 +174,7 @@ contract ConnectorsResolver is SmartAccountResolver {
|
|||
return addressess;
|
||||
}
|
||||
|
||||
function getStaticConnectores() public view returns(address[] memory){
|
||||
function getStaticConnectors() public view returns(address[] memory){
|
||||
uint count = connectorsContract.staticCount();
|
||||
address[] memory addressess = new address[](count);
|
||||
for (uint i = 0; i < count; i++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user