ElementsProject / ElementsProject/elements
Peg related RPC calls should error if there is no parent chain set
Open
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 416
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 15
Description
Currently (tested in 0.18.1.9 and 0.18.11):
If I set `chain=whatever`, `con_has_parent_chain=0` or `parentgenesisblockhash=Null` in elements.conf I can still call getpeginaddress from a connected client without error and get a `mainchain_address` and `claim_script` returned.
I would have expected any peg related RPC calls to error if the parent chain is nothing.
Contributor guide
Assessment
This issue has not been assessed yet.