← Back to Bitcoin Improvement Proposals
BIPinformational

BIP388: Fix incorrect use of return for raising exception

`return` was being used incorrectly to handle an exception. Instead of returning the exception, it should be raised using `raise`.

No reviews
brawncode·Updated Jan 29, 2025·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

return was being used incorrectly to handle an exception. Instead of returning the exception, it should be raised using raise.

Discussion (0 threads)

Loading discussions...