Fix HelloMessage unit test

This commit is contained in:
nicksavers 2014-10-13 18:04:36 +02:00
parent d87b3f10bc
commit 4d4d188def
4 changed files with 4 additions and 4 deletions

View File

@ -139,7 +139,7 @@ max.blocks.ask = 100
max.blocks.queued = 300 max.blocks.queued = 300
# project version auto copied during build phase # project version auto copied during build phase
project.version = 0.6.0 project.version = 0.6.1
# hello phrase will be included in # hello phrase will be included in
# the hello message of the peer # the hello message of the peer

View File

@ -80,7 +80,7 @@ public class HelloMessageTest {
capabilities, listenPort, peerId); capabilities, listenPort, peerId);
System.out.println(helloMessage); System.out.println(helloMessage);
// rlp encoded hello message // rlp encoded hello message
String expected = "F8738080A2457468657265756D284A292F302E362E302F6465762F5" String expected = "F8738080A2457468657265756D284A292F302E362E312F6465762F5"
+ "7696E646F77732F4A617661C8836574688373686882765FB840CAB0D93EEE1F" + "7696E646F77732F4A617661C8836574688373686882765FB840CAB0D93EEE1F"
+ "44EF1286367101F1553450E3DDCEEA45ABCAB0AC21E1EFB48A6610EBE88CE73" + "44EF1286367101F1553450E3DDCEEA45ABCAB0AC21E1EFB48A6610EBE88CE73"
+ "17EB09229558311BA8B7250911D7E49562C3988CA3143329DA3EA"; + "17EB09229558311BA8B7250911D7E49562C3988CA3143329DA3EA";

View File

@ -138,7 +138,7 @@ max.blocks.ask = 100
max.blocks.queued = 300 max.blocks.queued = 300
# project version auto copied during build phase # project version auto copied during build phase
project.version = 0.6.0 project.version = 0.6.1
# hello phrase will be included in # hello phrase will be included in
# the hello message of the peer # the hello message of the peer

View File

@ -138,7 +138,7 @@ max.blocks.ask = 100
max.blocks.queued = 300 max.blocks.queued = 300
# project version auto copied during build phase # project version auto copied during build phase
project.version = 0.6.0 project.version = 0.6.1
# hello phrase will be included in # hello phrase will be included in
# the hello message of the peer # the hello message of the peer