lib/dcha/peer/can_heartbeat.rb in dcha-0.1.0 vs lib/dcha/peer/can_heartbeat.rb in dcha-0.1.1

- old
+ new

@@ -7,10 +7,10 @@ end def pong(address) @peers.push(address).uniq! transmit action: :mine, params: [chain.blocks] - return if ipaddr.ip_address == address + return if @peers.include?(address) transmit_to address, action: :pong, params: [ipaddr.ip_address] end end end end