<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/moneroexamples/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/moneroexamples">@moneroexamples</a><br>
We have implemented the auto-confirmation with the tx proof (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="689839118" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4458" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/4458/hovercard" href="https://github.com/bisq-network/bisq/pull/4458">bisq-network/bisq#4458</a>) and at testing with an old xmr transaction I got a different address in the json as we would expect with the converted user address.</p>
<p>We use that code for conversion (author: <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/jmacxx/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jmacxx">@jmacxx</a> )</p>
<pre><code>  byte[] decoded = MoneroBase58.decode(address);
            // omit the type (1st byte) and checksum (last 4 byte)
            byte[] slice = Arrays.copyOfRange(decoded, 1, decoded.length - 4);
            return Utils.HEX.encode(slice);
</code></pre>
<pre><code>Address from json result (convertToRawHex):
8c23cc40c40f01c5c6d8ed10d2f1707f7b855ba37f535c01f80664a3b257bf7eebba21399be830c6435e5cd2edc3b374cf40b949018ea2004205694a5400bbae
Expected (convertToRawHex):
8c23cc40c40f01c5c6d8ed10d2f1707f7b855ba37f535c01f80664a3b257bf7eebba21399be830c6435e5cd2edc3b374cf40b949018ea2004205694a5400bbae190200fd2c2d887a 
</code></pre>
<p>So the expected value from our address conversion has 8 bytes at the end more than the address in the json. Is it related to the address format change? This tx was nearly 1 year old.</p>
<p>Any idea whats the reason for the problem and how to fix it? Sorry I am not much familiar with internals of Monero.</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/proposals/issues/86#issuecomment-686119295">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNRI74MWHEQXSSLQFN3SD3KPDANCNFSM4HMNXE5A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNV26OSB4WHTTBBDIXLSD3KPDA5CNFSM4HMNXE5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFDSVS7Y.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/proposals/issues/86#issuecomment-686119295",
"url": "https://github.com/bisq-network/proposals/issues/86#issuecomment-686119295",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>