Phoenix-Protocol-Group / phoenix-contracts

Source code of the smart contracts of the Phoenix DeFi hub DEX protocol
GNU General Public License v3.0
10 stars 7 forks source link

Multihop: fix authorization bug #138

Closed ueco-jb closed 1 year ago

ueco-jb commented 1 year ago

Fix effectively is just a refactor of an existing algorithm. Issue was caused by the subsequent token transfers between contracts. After changes, user performs (and therefore signs) all swap operations by himself.