lib/bitcoin.rb in bitcoin-ruby-0.0.16 vs lib/bitcoin.rb in bitcoin-ruby-0.0.17

- old
+ new

@@ -81,10 +81,10 @@ end end # get type of given +address+. def address_type(address) - segwit_decoded = decode_segwit_address(address) + segwit_decoded = decode_segwit_address(address) rescue nil if segwit_decoded witness_version, witness_program_hex = segwit_decoded witness_program = [witness_program_hex].pack("H*") if witness_version == 0 && witness_program.bytesize == 20