mirror of
https://github.com/grassrootseconomics/erc20-pool.git
synced 2026-03-19 13:00:47 +01:00
Add holder to limiter call
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user