Don't reveal market creator's bets
This commit is contained in:
parent
6fd16e448e
commit
080bf591e0
|
@ -135,7 +135,7 @@ function groupBets(
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const bet of bets) {
|
for (const bet of bets) {
|
||||||
const isCreator = userId === bet.userId || contract.creatorId === bet.userId
|
const isCreator = userId === bet.userId
|
||||||
|
|
||||||
if (commentsMap[bet.id] || isCreator) {
|
if (commentsMap[bet.id] || isCreator) {
|
||||||
pushGroup()
|
pushGroup()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user