<p>Currently we have some duplicate entries in the trade statistic map because the hash has changed with changes in the extraMap field and we added new enties in recent versions. As there was a republish routine for past trade statistics we added duplicates with such updates.<br>
To fix that we should add some cleanup code which deletes those duplicates. We can check for trade ID and the most significant fields like price and amount.<br>
The republish routine was removed for v.1.2. so there should not be added new duplicates.<br>
For future updates when we add entries to that map it would only be an issue if maker and taker have a different version.<br>
If the cleanup code does not cause performance issues we could leave it so it would handle such potential future scenarios as well. Alternatively we could add a Json Ignore annotation to the map as well.</p>

<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/issues/3470?email_source=notifications&email_token=AJFFTNWMJ4BLJ37BQOYBJL3QQMXMVA5CNFSM4JFGRUPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUOKBBA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNVSDIBABNZCOWEYPCDQQMXMVANCNFSM4JFGRUPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNTRMX4HQRZPDAWPZELQQMXMVA5CNFSM4JFGRUPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUOKBBA.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/issues/3470?email_source=notifications\u0026email_token=AJFFTNWMJ4BLJ37BQOYBJL3QQMXMVA5CNFSM4JFGRUPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUOKBBA",
"url": "https://github.com/bisq-network/bisq/issues/3470?email_source=notifications\u0026email_token=AJFFTNWMJ4BLJ37BQOYBJL3QQMXMVA5CNFSM4JFGRUPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUOKBBA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>