Skip to content

Commit

Permalink
WIP try prepend instead of append
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Sep 30, 2022
1 parent 887ac9b commit 5854596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NOnion/Cells/CellCerts.fs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ type CellCerts =
}

readCertificates
(certificates @ [ certificate ])
(certificate :: certificates)
(remainingCount - 1)

let certificatesCount = reader.ReadByte() |> int
let certs = readCertificates List.empty certificatesCount
let certs = readCertificates List.empty certificatesCount |> Seq.rev

{
Certs = certs
Expand Down

0 comments on commit 5854596

Please sign in to comment.