<blockquote>
<p>Still no explaination why it does not cause many of failed RefreshOfferMessage processing.</p>
</blockquote>
<p>Just a thought: The original bytes we receive are in the way they were serialized from the last hop that the message takes towards us. So just because we receive them in a way that indicates a different hash in the sender, doesn't mean that <code>RefreshOfferMessage</code> has to be wrong because the sender we received the message from probably != the person who opened the offer.</p>
<p>In other words:<br>
Alice opens Offer A -> aliceBytes -> Bob receives aliceBytes to Offer A and re-serializes (in order to relay) as bobsBytes -> Dan receives bobsBytes again deserializes to Offer A and stores it under hash(dansBytes).</p>
<p>It is possible that aliceBytes == dansBytes (so RefreshOfferMessage will look right) even though bobsBytes != dansBytes (so the bytes we receive would actually hash wrongly).<br>
This plays a role in explaining why number of differences in bytes != bad RefreshOfferMessages.</p>
<p>Number of differences in bytes => indication that a direct peer serializes differently than us<br>
Bad <code>RefreshOfferMessage</code> => indication that Offer origin serializes differently than us</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=AJFFTNUK6QVZSNSOFBPFXRTQNY7TZA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZJ5ZA#issuecomment-540188388">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWULJ4I7Z3ZB5OGRILQNY7TZANCNFSM4I55W3JQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNRADLESANVUTEF5HG3QNY7TZA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZJ5ZA.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=AJFFTNUK6QVZSNSOFBPFXRTQNY7TZA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZJ5ZA#issuecomment-540188388",
"url": "https://github.com/bisq-network/bisq/issues/3367?email_source=notifications\u0026email_token=AJFFTNUK6QVZSNSOFBPFXRTQNY7TZA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZJ5ZA#issuecomment-540188388",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>