I'm trying to add verifyTransactionBytes
to my app. I am currently stuck because of transaction.recipient !== data.recipient
. I don't understand how transaction.recipient
will ever equal data.recipient
.
data.recipient
equals ARDOR-64L4-C4H9-Z9PU-9YKDT
However, transaction.recipient
equals 12686039152117651770352583052021228896653772998482022211948610002430512793010043372255281183988421160450227631016638876582933743874739812608892576232835541561180017189881475915550182092483428449468438018195304514943626747005224233901130236596723251118266281272406204049816147466250586545776300564249483796886483621200942491492199171631589798205980673
This doesn't really surprise me, because I don't see how an ARDOR address gets generated from transaction.recipient = String(helpers.byteArrayToBigInteger(byteArray, pos));
Which looks like it should return a number, not a string. What am I missing