fanquake f028470654
Merge bitcoin/bitcoin#28727: test: replace random_bytes with random.randbytes
fe3ac3700d31a6329056fee983d91dd8e4c987c1 test: replace random_bytes with randbytes #28720 (ns-xvrn)

Pull request description:

  With Python upgraded to 3.9 replaced the `random_bytes` function in util of functional tests and replaced it's usage with `random.randbytes`.

  Closes #28720.

ACKs for top commit:
  maflcko:
    lgtm ACK fe3ac3700d31a6329056fee983d91dd8e4c987c1
  BrandonOdiwuor:
    ACK fe3ac3700d31a6329056fee983d91dd8e4c987c1
  stickies-v:
    ACK fe3ac3700d31a6329056fee983d91dd8e4c987c1, thanks for picking this up
  kristapsk:
    utACK fe3ac3700d31a6329056fee983d91dd8e4c987c1

Tree-SHA512: f65a75e73ebd840c2936eb133d42bccd552f25b717c8ca25c18d06e0593e12f292389cfcc0a0b0759004b67a46ea0c8ac237973ef90f246139778230be1e64e1
2023-10-29 10:14:59 +01:00
..
2023-07-31 12:13:46 -06:00