diff --git a/_ucoinpy_test/documents/test_peer.py b/_ucoinpy_test/documents/test_peer.py index 8ca91165..ed8213b1 100644 --- a/_ucoinpy_test/documents/test_peer.py +++ b/_ucoinpy_test/documents/test_peer.py @@ -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()) diff --git a/ucoinpy/documents/peer.py b/ucoinpy/documents/peer.py index 9c780e92..5716a785 100644 --- a/ucoinpy/documents/peer.py +++ b/ucoinpy/documents/peer.py @@ -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