← Back to Bitcoin Improvement Proposals
BIPinformational

BIP-158: replace deprecated io/ioutil with os.ReadFile

Update bip-0158/gentestvectors.go to use os.ReadFile instead of the deprecated io/ioutil package. The ioutil package has been deprecated since Go 1.16, with its functionality moved to the io and os packages.

No reviews
strmfos·Updated Feb 28, 2026·0 reviews·0 attestations·View source
Collections:BIPs — Open

Specification

Update bip-0158/gentestvectors.go to use os.ReadFile instead of the deprecated io/ioutil package. The ioutil package has been deprecated since Go 1.16, with its functionality moved to the io and os packages.

Discussion (0 threads)

Sign in to start a discussion on this spec.