lib/platon/http_client.rb in platon-1.0.0 vs lib/platon/http_client.rb in platon-1.0.1
- old
+ new
@@ -3,10 +3,10 @@
module Platon
class HttpClient < Client
attr_accessor :host, :port, :uri, :ssl, :proxy
def initialize(host,chain_name, proxy = nil)
- super(chain_name,log)
+ super(chain_name)
uri = URI.parse(host)
raise ArgumentError unless ['http', 'https'].include? uri.scheme
@host = uri.host
@port = uri.port
@proxy = proxy