Purpose of this PR:
Sample code for statistics had a mistake in the function printConnStats. It accepts an connectionStats object and again references connectionStats within its body to access peerId.
Fix: printConnStats should not reference connectionStats and directly access peerId
Purpose of this PR: Sample code for statistics had a mistake in the function
printConnStats
. It accepts anconnectionStats
object and again referencesconnectionStats
within its body to accesspeerId
.Fix:
printConnStats
should not referenceconnectionStats
and directly accesspeerId
See ESS-1511 for more details.