We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b904dc commit 54d8324Copy full SHA for 54d8324
solc_helper
@@ -45,7 +45,7 @@ def get_contract_to_deploy(compiled_object)
45
return compiled_object.keys[0] if compiled_object.keys.count == 1
46
puts "Which contract do you want to deploy?"
47
choice = 0
48
- while choice <= 0 || choice >= compiled_object.keys.count
+ while choice <= 0 || choice > compiled_object.keys.count
49
compiled_object.keys.each.with_index do |key, i|
50
puts "#{(i+1)}. "+key
51
end
0 commit comments