<p><b>@ripcurlx</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/3958#discussion_r377041468">core/src/main/java/bisq/core/trade/statistics/TradeStatisticsManager.java</a>:</p>
<pre style='color:#555'>> +        private TradeStatistics2 tradeStatistics;
+
+        public WrapperTradeStatistics2(TradeStatistics2 tradeStatistics) {
+
+            this.tradeStatistics = tradeStatistics;
+        }
+
+        public TradeStatistics2 unwrap() {
+            return this.tradeStatistics;
+        }
+
+        @Override
+        public boolean equals(Object obj) {
+            if (this == obj) return true;
+            if (obj == null || getClass() != obj.getClass()) return false;
+            var wrapper = (WrapperTradeStatistics2) obj;
</pre>
<p>Could add it to make it safer if it is reused somewhere.<br>
Atm using it like that should not cause this case to ever happen.</p>
<pre><code>.map(WrapperTradeStatistics2::new)
.distinct()
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/3958?email_source=notifications&email_token=AJFFTNWBCVCJNAXDIAUSNOLRCFEGHA5CNFSM4KSNDEEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCU3LWHQ#discussion_r377041468">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNW3L2CPXK5XEIISJY3RCFEGHANCNFSM4KSNDEEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNT4DKERGARIVCNCBXTRCFEGHA5CNFSM4KSNDEEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCU3LWHQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/3958?email_source=notifications\u0026email_token=AJFFTNWBCVCJNAXDIAUSNOLRCFEGHA5CNFSM4KSNDEEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCU3LWHQ#discussion_r377041468",
"url": "https://github.com/bisq-network/bisq/pull/3958?email_source=notifications\u0026email_token=AJFFTNWBCVCJNAXDIAUSNOLRCFEGHA5CNFSM4KSNDEEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCU3LWHQ#discussion_r377041468",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>