<blockquote>
<p>I also counted the number of OfferPayloads and it was the same number (308) as the displayed offers, so it seems there are no duplicates entry in the map.</p>
</blockquote>
<p>Duplication in the map does not occur in Java because locally the hashing is deterministic. The issue only shows up in the interaction between nodes because <em>globally</em> its non-deterministic.</p>
<p>In rust this is different. Its non-deterministic <em>even locally</em> which leads to the duplication and is why I spotted it. This is because the order of entries in rust's HashMap implementation is randomized by design for security reasons. It makes a certain category of attacks much harder.</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/3367?email_source=notifications&email_token=AJFFTNRB2FV7UFQ4GWJ5JS3QNYNZBA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAY2IYY#issuecomment-540124259">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSQRO25VPLAYTSIO5LQNYNZBANCNFSM4I55W3JQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQGQ7LI4N3SVGM7ERTQNYNZBA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAY2IYY.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/3367?email_source=notifications\u0026email_token=AJFFTNRB2FV7UFQ4GWJ5JS3QNYNZBA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAY2IYY#issuecomment-540124259",
"url": "https://github.com/bisq-network/bisq/issues/3367?email_source=notifications\u0026email_token=AJFFTNRB2FV7UFQ4GWJ5JS3QNYNZBA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAY2IYY#issuecomment-540124259",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>