Open darosior opened 2 years ago
Repro on aquarium:
stk0d
for i in `seq 30`; do bcli sendtoaddress `stk0cli getdepositaddress |jq -r .result.address` 1 && bcli generatetoaddress 1 `stk0cli getdepositaddress |jq -r .result.address`; done
Alright, it's because of generating block to a deposit address. https://github.com/revault/revaultd/blob/7cd856d5a345319cebc815aa61f3b66cebb48b86/src/bitcoind/interface.rs#L1161 https://github.com/revault/revaultd/blob/7cd856d5a345319cebc815aa61f3b66cebb48b86/src/bitcoind/interface.rs#L1183-L1189
This above does not take into account the "immature" category.