This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c941f7  fix ENR encoding, was written excessive bytes, so decoding 
was not working
     new 96fe4b6  Merge pull request #37 from YouJustDontKnow/enr-encoding-fix
0c941f7 is described below

commit 0c941f7df66f5a37c38042aca7b26e00573c798a
Author: George Bisiarin <[email protected]>
AuthorDate: Wed Oct 16 13:02:35 2019 +0300

    fix ENR encoding, was written excessive bytes, so decoding was not working
---
 devp2p/src/main/kotlin/org/apache/tuweni/devp2p/EthereumNodeRecord.kt | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/devp2p/src/main/kotlin/org/apache/tuweni/devp2p/EthereumNodeRecord.kt 
b/devp2p/src/main/kotlin/org/apache/tuweni/devp2p/EthereumNodeRecord.kt
index 776450e..61743a0 100644
--- a/devp2p/src/main/kotlin/org/apache/tuweni/devp2p/EthereumNodeRecord.kt
+++ b/devp2p/src/main/kotlin/org/apache/tuweni/devp2p/EthereumNodeRecord.kt
@@ -85,7 +85,6 @@ class EthereumNodeRecord(val signature: Bytes, val seq: Long, 
val data: Map<Stri
       }
       udp?.let {
         mutableData["udp"] = Bytes.ofUnsignedShort(it)
-        writer.writeString("udp")
       }
       mutableData.keys.sorted().forEach { key ->
           mutableData[key]?.let { value ->


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to