Skip to content

Can't create block 432 on regtest #807

@Gzernov

Description

@Gzernov

As per title, after upgrading to 0.21.2 I can no longer create blocks in regtest past 432.
Steps to reproduce:

  1. Start regtest node
  2. litecoin-cli createwallet ""
  3. litecoin-cli generatetoaddress 431 `litecoin-cli getnewaddress`
  4. litecoin-cli getblockcount -> 431
  5. litecoin-cli generatetoaddress 1 `litecoin-cli getnewaddress`

Results in

error code: -1
error message:
CreateNewBlock: TestBlockValidity failed: bad-txns-vin-empty, Transaction check failed (tx hash 58338ec7c9c4e6086f9eef6093d79a69d930d7ca695d1759b07180fef29d8f8e) 

This transaction doesn't exist. No transactions were sent and no transactions should be in mempool

litecoin-cli getrawtransaction 58338ec7c9c4e6086f9eef6093d79a69d930d7ca695d1759b07180fef29d8f8e
error code: -5
error message:
No such mempool or blockchain transaction. Use gettransaction for wallet transactions.

litecoin-cli gettransaction 58338ec7c9c4e6086f9eef6093d79a69d930d7ca695d1759b07180fef29d8f8e
error code: -5
error message:
Invalid or non-wallet transaction id

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions