From 25cd47e86ac519ee418e8497a8e07b50e4b46f04 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Tue, 18 May 2021 15:30:40 +0200 Subject: [PATCH] export peer encoding for conveinience --- lib/messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/messages.js b/lib/messages.js index f2ce5d6..83c991a 100644 --- a/lib/messages.js +++ b/lib/messages.js @@ -17,7 +17,7 @@ const IPv4 = exports.IPv4 = { } } -const peerIPv4 = { +const peerIPv4 = exports.peerIPv4 = { preencode (state, peer) { state.end += 6 },