Coder Social home page Coder Social logo

Comments (16)

juanfranblanco avatar juanfranblanco commented on May 30, 2024 1

ha ha it happens to me the same, and monitoring so many repos is a nightmare.. gitter is my main point of contact if I am not in the zone :)

from trezor.net.

juanfranblanco avatar juanfranblanco commented on May 30, 2024 1

Yes this is all working now :)

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

@juanfranblanco the problem is because the code is a literal translation from Java:

image

I'm investigating...

from trezor.net.

juanfranblanco avatar juanfranblanco commented on May 30, 2024

After removing the -1 it works, I have not seen any changes on behaviour.. although I have not tested thoroughly. Nevertheless that seem to do the trick. On the other scenario it was copying the penultimate byte, so you had a duplicate.

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

You mean this one here, or both?

image

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

This is confusing because in Java the array is indexed differently I think,

from trezor.net.

juanfranblanco avatar juanfranblanco commented on May 30, 2024

Yes that one :)

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

Are you able to do a pull request with your test? i.e. put a test for your transaction signing in?

from trezor.net.

juanfranblanco avatar juanfranblanco commented on May 30, 2024

Yes that was the plan, I am trying to fix transactions at the moment. The signature is not correct.

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

I'm just testing on Android and will check in the fix.

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

The fix is in this NuGet:
https://www.nuget.org/packages/Trezor.Net/2.2.0

I can see why it went wrong now. It was a copy pasta mistake.

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

Let me know if this fixes it for you.

from trezor.net.

juanfranblanco avatar juanfranblanco commented on May 30, 2024

Oh I am working on the Trezor.Net source, so I can debug and tinker :)

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

No problem. It's committed in master.

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

Btw sorry about the slow response. I never get notifications about new issues. Best to email me if something is wrong.

from trezor.net.

MelbourneDeveloper avatar MelbourneDeveloper commented on May 30, 2024

@juanfranblanco this fix has actually solved a problem in the KeepKey library which is based on Trezor.Net. So, thanks. Can this ticket be closed now? Do you suspect there are other issues in reading and writing data to the Trezor? Have you seen #10 ?

from trezor.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.