Code Monkey home page Code Monkey logo

Comments (9)

jnordberg avatar jnordberg commented on August 25, 2024

Do you still have this error? I know there was a steemd version with a bug was deployed for a couple of hours on the official steemd cluster that caused similar errors.

from dsteem.

therealwolf42 avatar therealwolf42 commented on August 25, 2024

just tried again - still the same error :/

from dsteem.

jnordberg avatar jnordberg commented on August 25, 2024

Ok strange, can you provide a minimal example that reproduces it?

from dsteem.

jnordberg avatar jnordberg commented on August 25, 2024

And which node are you using?

from dsteem.

therealwolf42 avatar therealwolf42 commented on August 25, 2024

sure. I'm using the build team node. (which is not released yet and should be very fast) But it also happened with gtg

// amount should be someting like 1.2 and asset SBD => 1.2 SBD
let new_amount = amount.toString() + " " + asset.toString()
let transfer_data = {from:bot_name,to:receiver,amount:new_amount,memo:memo}
let result = await client.broadcast.transfer(transfer_data, ACTIVE_KEY)

from dsteem.

jnordberg avatar jnordberg commented on August 25, 2024

let new_amount = amount.toString() + " " + asset.toString()

That looks a bit odd, just to rule out errors here can you try it with:

let new_amount = Asset.from(1.2, 'STEEM')

from dsteem.

therealwolf42 avatar therealwolf42 commented on August 25, 2024

I also tried that but still the same error.

from dsteem.

jnordberg avatar jnordberg commented on August 25, 2024

I ran a couple of tests against gtg's node and was not able to reproduce

from dsteem.

therealwolf42 avatar therealwolf42 commented on August 25, 2024

well - a bit embarrassing, but I forgot to start tsc -w again after restarting pc and always started with the same compiled JS. :'D

I must have made an error with my own convertion to asset. This makes sense now as it always worked when I just chose the value I got from the transfer. But when I just changed it a bit - it broke.

from dsteem.

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.