Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Active Authority Bug #8

Closed
therealwolf42 opened this issue Oct 17, 2017 · 9 comments
Closed

Missing Active Authority Bug #8

therealwolf42 opened this issue Oct 17, 2017 · 9 comments

Comments

@therealwolf42
Copy link
Contributor

When using broadcast.transfer I have a very weird bug that I get: RPCError: Missing Active Authority therealwolf when I try to send a transfer that is bigger than the transfer that I received.

For example: User A sends me X amount and I send X (-0 to max. X) amount back - then everything works fine. But when User A sends me X amount and I send X + 1 - then everything breaks apart.

@jnordberg
Copy link
Owner

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.

@therealwolf42
Copy link
Contributor Author

just tried again - still the same error :/

@jnordberg
Copy link
Owner

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

@jnordberg
Copy link
Owner

And which node are you using?

@therealwolf42
Copy link
Contributor Author

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)

@jnordberg
Copy link
Owner

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')

@therealwolf42
Copy link
Contributor Author

I also tried that but still the same error.

@jnordberg
Copy link
Owner

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

@therealwolf42
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants