examples/bbe_verify_tx.rb in bitcoin-ruby-0.0.5 vs examples/bbe_verify_tx.rb in bitcoin-ruby-0.0.6

- old
+ new

@@ -21,10 +21,10 @@ else url = "http://blockexplorer.com/%srawtx/%s" % [$testnet ? 'testnet/' : '', hash] end json = open(url).read Bitcoin::Protocol::Tx.from_json(json) -rescue Exception +rescue nil end tx1 = get_tx(tx_hash)