Skip to content

Commit

Permalink
Fixed several bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
binlain committed Sep 25, 2012
1 parent 566485a commit 622d66e
Showing 1 changed file with 504 additions and 507 deletions.
Loading

1 comment on commit 622d66e

@laino
Copy link
Owner

@laino laino commented on 622d66e Sep 25, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I converted the spaces to tabs so it's not really clear here what I changed, the problem with the code was basically that some methods assumed to get (ip, port) tuples where they would get Node-objects and the other way around resulting in errors.
I changed most of the code to use Node-objects, also I fixed a condition where encodeNodes(nodes) could get called with Node-objetcs AND tuples by doing so.

Please sign in to comment.