ElementsProject / ElementsProject/elements

Peg related RPC calls should error if there is no parent chain set

Aperta
#983 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.2k
Fork
416
Merge medio
1g 23h
PR unite (30g)
15

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.