Skip to content

Commit 54d8324

Browse files
committed
Fixed a bug with the contract listing
1 parent 1b904dc commit 54d8324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solc_helper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_contract_to_deploy(compiled_object)
4545
return compiled_object.keys[0] if compiled_object.keys.count == 1
4646
puts "Which contract do you want to deploy?"
4747
choice = 0
48-
while choice <= 0 || choice >= compiled_object.keys.count
48+
while choice <= 0 || choice > compiled_object.keys.count
4949
compiled_object.keys.each.with_index do |key, i|
5050
puts "#{(i+1)}. "+key
5151
end

0 commit comments

Comments
 (0)