Giter Club home page Giter Club logo

Comments (3)

brandonshope avatar brandonshope commented on July 19, 2024

REST API test - looks like /v1/serviceinfo is throwing the error

admin@raspberrypi:~/.boltz-lnd/macaroons $ curl --insecure --header "Grpc-Metadata-macaroon: $(xxd -ps -u -c 1000 ~/.boltz-lnd/macaroons/admin.macaroon)" https://localhost:9003/v1/info
{"symbol":"BTC","network":"mainnet","lndPubkey":"03b58efa9e3757c48cd901fc6a7277e9ef6efecdf3f24ddf6e67de8280debc09db","blockHeight":673729,"pendingSwaps":["D4gyPz","PfRNNG","YGXVyX"],"pendingReverseSwaps":[]}

admin@raspberrypi:~/.boltz-lnd/macaroons $ curl --insecure --header "Grpc-Metadata-macaroon: $(xxd -ps -u -c 1000 ~/.boltz-lnd/macaroons/admin.macaroon)" https://localhost:9003/v1/serviceinfo
{"code":2,"message":"json: cannot unmarshal number 200000000000 into Go struct field .pairs.limits.maximal of type int","details":[]}

from boltz-client.

brandonshope avatar brandonshope commented on July 19, 2024

This is the problem... code change required

api.go change int -> int64

36 Maximal int64 json:"maximal"
37 Minimal int64 json:"minimal"

from boltz-client.

brandonshope avatar brandonshope commented on July 19, 2024

fix proposed in pull request

from boltz-client.

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.