Commit 315466d
committed
keep pool in a locked state while activating, to prevent reentrancy
- Note that the pool is unlocked while executing the Uniswap activateHook function,
but this only makes one external call to the (trusted) poolManager, and all the
pool's invariants are already setup at that time.
- Spearbit #71 parent 0421543 commit 315466d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
0 commit comments