chromaway / ngcccbase

next-gen colored coin client base
MIT License
85 stars 46 forks source link

p2p function problem #160

Closed yuzhangiot closed 10 years ago

yuzhangiot commented 10 years ago

After refactoring p2p function, it seems that the p2p operation does not work again... error code as follows: . . . File "/home/zhangyu/colorcoin/ngcccbase02/coloredcoinlib/comparable.py", line 3, in ne return self != other File "/home/zhangyu/colorcoin/ngcccbase02/coloredcoinlib/comparable.py", line 3, in ne return self != other File "/home/zhangyu/colorcoin/ngcccbase02/coloredcoinlib/comparable.py", line 3, in ne return self != other RuntimeError: maximum recursion depth exceeded

yuzhangiot commented 10 years ago

Oh, my fault! Only QT version has that problem. Command line version is fine.

killerstorm commented 10 years ago

I've fixed bug in comparable.py. Note that different errors might be triggered in different cases, like whether colored or uncolored side was first to propose.

Please let me know if it works and if you find more problems.