code-423n4 / 2021-10-ambire-findings

0 stars 0 forks source link

Set `QuickAccManager::CANCEL_PREFIX` as constant #7

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

pmerkleplant

Vulnerability details

Impact

Variable CANCEL_PREFIX in the QuickAccManager is never reset after initialization. Declaring it as a constant saves gas.

Ivshti commented 2 years ago

fixed in https://github.com/AmbireTech/adex-protocol-eth/commit/c193217396f31b505e50a636baecaaee69d2a8c5

GalloDaSballo commented 2 years ago

The sponsor has applied the improvement