Commit f62bd3998cb8805373739f3fa771d08e4959798e introduced the decode_segwit_address as a step in determining the valid_address? of an address. Previously the contract was for decode_base58 to rescue all errors and return nil, but that wasn't maintained for segwit addresses. This simply keeps the interface the same.
Commit f62bd3998cb8805373739f3fa771d08e4959798e introduced the
decode_segwit_address
as a step in determining thevalid_address?
of an address. Previously the contract was fordecode_base58
to rescue all errors and return nil, but that wasn't maintained for segwit addresses. This simply keeps the interface the same.