mirror of
https://github.com/bitcoin/bips.git
synced 2026-09-14 19:01:38 +00:00
The self-test reads time.clock_gettime_ns(time.CLOCK_MONOTONIC) for extra_in on even iterations. CPython documents both symbols "Availability: Unix", so the attribute lookup raises AttributeError on Windows and python3 reference.py does not run there. Take extra_in from secrets instead, at a random length, so the self-test also exercises extra_in of varying length. time has no other use in the file, so its import goes too.
34 KiB
34 KiB