<p>Afaict internally <code>LinkedHashMap</code> is <a href="https://github.com/protocolbuffers/protobuf/blob/f9d8138376765d229a32635c9209061e4e4aed8c/java/core/src/main/java/com/google/protobuf/MapField.java#L171">being used</a> which actually preserves order and would thus make this test fail. In other words the behaviour is different depending on if we create it then serialize it (all key-orders lead to same bytes), or de-serialize it from the wire (due to <code>LinkedHashMap</code> internally it becomes order sensitive).</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/pull/3389?email_source=notifications&email_token=AJFFTNU6O5H4LKE5FYICDNDQN53PHA5CNFSM4I7K6MQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5NXVQ#issuecomment-540728278">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTJZW52AR5ARJUXRV3QN53PHANCNFSM4I7K6MQQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXJQ274MXIZ73RUIDTQN53PHA5CNFSM4I7K6MQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5NXVQ.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/3389?email_source=notifications\u0026email_token=AJFFTNU6O5H4LKE5FYICDNDQN53PHA5CNFSM4I7K6MQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5NXVQ#issuecomment-540728278",
"url": "https://github.com/bisq-network/bisq/pull/3389?email_source=notifications\u0026email_token=AJFFTNU6O5H4LKE5FYICDNDQN53PHA5CNFSM4I7K6MQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5NXVQ#issuecomment-540728278",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>