ElementsProject / ElementsProject/elements

`initialfreecoins` does not work for descriptor wallets.

Aperta
#1,106 4 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

I am not even sure if this should work. If it worked earlier for me. But it does not work now.

Steps to reproduce:
Set the following in the elements.conf file (regtest mode)
```
initialfreecoins=2100000000000000
anyonecanspendaremine=1
```

Create a descriptor wallet
```
elements-cli -named createwallet wallet_name=descriptors_e1 descriptors=true
```
Wait for funds to mature
```
elements-cli -generate 101
```
Check the balance
```
elements-cli getbalance
```
This should be equal to `2100000000000000`, but is `0`. The same works for non-descriptor wallets

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.