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

Fix broken calc_MoM command #8

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

who-biz
Copy link

@who-biz who-biz commented Aug 4, 2021

Prior to fix:

./chips-cli -testnet calc_MoM 100 1
error code: -1
error message:
calc_MoM


Result:
n    (numeric) The current block count

Examples:
> bitcoin-cli getblockcount 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockcount", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/

After fix:

./chips-cli -testnet calc_MoM 100 1
{
  "coin": "CHIPS",
  "height": 100,
  "MoMdepth": 1,
  "MoM": "64466cf635c71f921cd34a7afe5d9e979cb5c21a7a19985954e9aa04abf7467c"
}

@satindergrewal satindergrewal merged commit 518705c into satindergrewal:barry Aug 5, 2021
who-biz added a commit to who-biz/chipschain that referenced this pull request Dec 2, 2021
Add option to specify pubkey on init to daemon
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

Successfully merging this pull request may close these issues.

2 participants