Skip to content

Commit

Permalink
Fix bug with signatures written in raw peer document
Browse files Browse the repository at this point in the history
  • Loading branch information
Insoleet committed Jan 23, 2016
1 parent ebefbb6 commit d24dc11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions _ucoinpy_test/documents/test_peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,4 @@ def test_fromraw_toraw(self):
self.assertEqual(from_rendered_peer.endpoints[1].port, 9002)

self.assertEqual(from_rendered_peer.signatures[0], "dkaXIiCYUJtCg8Feh/BKvPYf4uFH9CJ/zY6J4MlA9BsjmcMe4YAblvNt/gJy31b1aGq3ue3h14mLMCu84rraDg==")


self.assertEqual(rawpeer, from_rendered_peer.signed_raw())
1 change: 0 additions & 1 deletion ucoinpy/documents/peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def raw(self):
for endpoint in self.endpoints:
doc += "{0}\n".format(endpoint.inline())

doc += "{0}\n".format(self.signatures[0])
return doc


Expand Down

0 comments on commit d24dc11

Please sign in to comment.