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

'masternode status' returns wrong pubKey #580

Closed
schinzelh opened this issue Aug 28, 2015 · 4 comments
Closed

'masternode status' returns wrong pubKey #580

schinzelh opened this issue Aug 28, 2015 · 4 comments
Labels
Milestone

Comments

@schinzelh
Copy link

As per

https://dashtalk.org/threads/v12-release.5888/page-25#post-64168

Hmm, mine is showing a wrong address too. I smell a bug

./dash-cli masternode status
{
"vin" : "CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase )",
"pubKeyMasternode" : "XtdEd9b3yw2iEEfgjyQbwp82viVrXXXXXX",
"status" : "Not capable masternode: Could not find suitable coins!"
}

@schinzelh schinzelh added this to the 12.1 milestone Aug 28, 2015
@schinzelh schinzelh added the bug label Aug 28, 2015
@UdjinM6
Copy link

UdjinM6 commented Aug 28, 2015

That's an address that corresponds to masternodeprivkey. I'm not sure what that command was meant to do so in #562 UdjinM6@b59f603#diff-a4cdb81b821da1ed5387826be192a2a2R434 it's replaced by pubkey hash (which at least appears in logs when mn signature is wrong so it could be kind of helpful for debuging). But then I'm not sure why we show it to user at all... maybe we should show actaul 1000 DASH address there..

@schinzelh
Copy link
Author

Ups, redacted the OP to save the privkey :)

My expectation was to get the funding vin address here, at least this is my understanding of "pubKeyMasternode"

PubKey2 is of no use here...

@UdjinM6
Copy link

UdjinM6 commented Aug 28, 2015

Reimplemented and moved it out of #562 to #581
Now it should work like you described.

@schinzelh
Copy link
Author

Tested successfully in b1d28c9

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

No branches or pull requests

2 participants