GithubHelp home page GithubHelp logo

Comments (10)

lionello avatar lionello commented on June 19, 2024 1

I'm running into the same issue when trying to transfer 5 BTC + 17 BTC change. I've debugged this with Chrome debugger and the inputs to signtx are correct, but the Trezor just comes back with RangeError.

from connect.

karelbilek avatar karelbilek commented on June 19, 2024

from connect.

prusnak avatar prusnak commented on June 19, 2024

Also what service are you using Connect with?

from connect.

prusnak avatar prusnak commented on June 19, 2024

I was able to reproduce the issue, @Runn1ng and @szymonlesisz will look into that shortly.

from connect.

karelbilek avatar karelbilek commented on June 19, 2024

OK, we found the bug, it's actually not because of the BTC, but because of segwit transactions not being properly parsed (old bitcoinjs-lib). We are looking into it

from connect.

karelbilek avatar karelbilek commented on June 19, 2024

Can you try it again, with either v3 branch locally or on https://connect.trezor.io/3/ (or older versions)? It should be working now.

from connect.

lionello avatar lionello commented on June 19, 2024

Is there a fix for trezord? It seems to fail with similar error when converting JSON to protobuf.

vendor/jsoncpp/src/lib_json/json_value.cpp:734:    
JSON_ASSERT_MESSAGE(isUInt(), "LargestInt out of UInt range");

from connect.

karelbilek avatar karelbilek commented on June 19, 2024

from connect.

lionello avatar lionello commented on June 19, 2024

Changing to v3 fixed the issue! Could you share more info about the fix? Wondering whether trezord has the same or another issue.

from connect.

karelbilek avatar karelbilek commented on June 19, 2024

It was an issue with segwit. When sending from an account that had even 1 transaction with segwit inputs, it threw an error. We used old bitcoinjs-lib version, that didn't know how to parse segwit transactions. It is fixed now.

from connect.

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.