Commit 17e00c6b authored by nazarf's avatar nazarf

clean up

parent 2b07bc29
...@@ -64,7 +64,6 @@ namespace :miners do ...@@ -64,7 +64,6 @@ namespace :miners do
miner = Miner.find_by(name: @worksheet[index + row, NAME]) miner = Miner.find_by(name: @worksheet[index + row, NAME])
if miner.present? if miner.present?
miner.update( miner.update(
name: @worksheet[index + row, NAME],
ip_address: @worksheet[index + row, IP_ADDRESS], ip_address: @worksheet[index + row, IP_ADDRESS],
port: @worksheet[index + row, PORT], port: @worksheet[index + row, PORT],
wallet_address: @worksheet[index + row, ADDRESS], wallet_address: @worksheet[index + row, ADDRESS],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment