Add holder to limiter call

This commit is contained in:
lash
2023-07-27 17:35:36 +01:00
parent 377d392558
commit 5219ca0385
3 changed files with 3 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ contract SwapPool {
return;
}
(r, v) = limitRegistry.call(abi.encodeWithSignature("limitOf(address)", _token));
(r, v) = limitRegistry.call(abi.encodeWithSignature("limitOf(address, address)", _token, this));
require(r, "ERR_TOKEN");
limit = abi.decode(v, (uint256));