revert accidental change to uniswapv3 compute
This commit is contained in:
parent
c266217b93
commit
acd69422fd
@ -529,9 +529,9 @@ contract MultiplexFeature is
|
|||||||
// which `msg.sender` may not have an allowance set for. Thus
|
// which `msg.sender` may not have an allowance set for. Thus
|
||||||
// target must be set to `address(this)` for `i > 0`.
|
// target must be set to `address(this)` for `i > 0`.
|
||||||
if (i == 0 && !params.useSelfBalance) {
|
if (i == 0 && !params.useSelfBalance) {
|
||||||
target = address(this);
|
|
||||||
} else {
|
|
||||||
target = msg.sender;
|
target = msg.sender;
|
||||||
|
} else {
|
||||||
|
target = address(this);
|
||||||
}
|
}
|
||||||
} else if (subcall.id == MultiplexSubcall.OTC) {
|
} else if (subcall.id == MultiplexSubcall.OTC) {
|
||||||
//on the first call we want to pull tokens from the taker, subsequent calls should use the EP balance
|
//on the first call we want to pull tokens from the taker, subsequent calls should use the EP balance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user