From a00bc7b3e8eb19f7a99a0ba6a17b9cea0ee8f9c2 Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Mon, 18 Nov 2019 12:02:28 -0800 Subject: [PATCH] Fix "zero'd" typo --- sphinx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx.go b/sphinx.go index b01c404..bfe4c42 100644 --- a/sphinx.go +++ b/sphinx.go @@ -198,7 +198,7 @@ func NewOnionPacket(paymentPath *PaymentPath, sessionKey *btcec.PrivateKey, // Generate the padding, called "filler strings" in the paper. filler := generateHeaderPadding("rho", paymentPath, hopSharedSecrets) - // Allocate zero'd out byte slices to store the final mix header packet + // Allocate zeroed out byte slices to store the final mix header packet // and the hmac for each hop. var ( mixHeader [routingInfoSize]byte