LiskArchive / lisk-elements

⚙️ Library for sending Lisk transactions from the client or server
https://lisk.io/
GNU General Public License v3.0
250 stars 64 forks source link

applyNodeInfo is not adding custom fields anymore - Closes #1209 #1210

Closed jondubois closed 5 years ago

jondubois commented 5 years ago

What was the problem?

Custom fields were not being passed to peers.

How did I fix it?

Just clone the nodeInfo object when forwarding it to the peerPool.

How to test it?

Run tests.

Review checklist