lib/bitcoin/script.rb in bitcoin-ruby-0.0.17 vs lib/bitcoin/script.rb in bitcoin-ruby-0.0.18

- old
+ new

@@ -732,10 +732,10 @@ return get_multisig_addresses if is_multisig? return [get_p2sh_address] if is_p2sh? if is_witness_v0_keyhash? || is_witness_v0_scripthash? program_hex = chunks[1].unpack("H*").first - return Bitcoin.encode_segwit_address(0, program_hex) + return [Bitcoin.encode_segwit_address(0, program_hex)] end [] end