Lucene search

K
code423n4Code4renaCODE423N4:2021-11-STREAMING-FINDINGS-ISSUES-223
HistoryDec 07, 2021 - 12:00 a.m.

check for deposit token and reward token are not same

2021-12-0700:00:00
Code4rena
github.com
7

Handle

hack3r-0m

Vulnerability details

#Impact

createStream does not check if deposit token and reward token are different addresses.

Proof of Concept

Not Required

Tools Used

Manual Review

Recommended Mitigation Steps

add check require(rewardToken != depositToken)


The text was updated successfully, but these errors were encountered:

All reactions