marvinroger/nanocurrency-js

Can't create block with balance = "0"

LilleJohs opened this issue ยท 3 comments

I'm trying to make a send block
nanocurrency.createBlock(privateKey, { balance: "0", link: link, previous: previous, representative: representative, work: null });,
but I'm getting a 'Balance is not valid' error. I'm simply trying to send all Nanos away from an account, so balance = "0" should be valid.

You're right! I'll fix.

๐ŸŽ‰ This issue has been resolved in version 2.0.3 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

@LilleJohs can you tell me if it's OK for you?