Fixes #32334
The test feature_bip68_sequence.py
fails with IndexError: list index out of range
error due to a mismatch between the number of inputs requested (at random) and the number of UTXOs available. The error is reproducible with the randomseed:
0$ ./build/test/functional/feature_bip68_sequence.py --randomseed 6169832640268785903
This PR adds a valid upper bound to randomly select the inputs.