Skip to content

Commit 0d2551e

Browse files
committed
address review comments
1 parent 1b2acb8 commit 0d2551e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/forwarding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func leftPadIfRequired(input []byte) ([]byte, error) {
269269
return input, nil
270270
}
271271

272-
pad := make([]byte, 32-len(input))
272+
pad := make([]byte, 0, 32-len(input))
273273

274274
return append(pad, input...), nil
275275
}

0 commit comments

Comments
 (0)