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

getblockheader produces empty signblock_witness #1102

Closed
jamesdorfman opened this issue Mar 16, 2022 · 0 comments · Fixed by #1108
Closed

getblockheader produces empty signblock_witness #1102

jamesdorfman opened this issue Mar 16, 2022 · 0 comments · Fixed by #1108

Comments

@jamesdorfman
Copy link
Contributor

jamesdorfman commented Mar 16, 2022

The getblockheader RPC returns two fields pertaining to the signblock_witness:

  • signblock_witness_asm
  • signblock_witness_hex

Actual behavior
These are both currently empty.

Expected behavior
I expected these fields to contain a signblock_witness that corresponds to the signblockscript (which is not empty).

To reproduce
On the liquid network, you can currently reproduce this issue with

$ elements-cli getblockheader $(elements-cli getbestblockhash)

Example:

$ elements-cli getblockheader 1f8b6094977bfc13164752923a01d5a0b628de160c37d7c66ad923620c2e0bcb
{
  "hash": "1f8b6094977bfc13164752923a01d5a0b628de160c37d7c66ad923620c2e0bcb",
  "confirmations": 28,
  "height": 1748299,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "b325c89c57ba6d2df95bf9433c903f8f020b3f8e24ec49d01181b1889461a586",
  "time": 1647445868,
  "mediantime": 1647445568,
  "signblock_witness_asm": "",
  "signblock_witness_hex": "",
  ...
}

System information
I am running macOS Monterey v12.1.

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 a pull request may close this issue.

1 participant