Skip to content
Snippets Groups Projects
Commit d4c58edd authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

remove some spurious comments

This functionality moved in to readShareFromBucket
parent 57b5273c
Branches
No related tags found
1 merge request!7Implement enough encryption and encoding to be able to read plaintext from Tahoe-LAFS-generated SDMF shares
Pipeline #4631 failed
......@@ -224,13 +224,6 @@ knownCorrectRoundTrip n = do
-- predictable size.
bucket <- LB.readFile ("test/data/3of10." <> show n)
shareData <- readShareFromBucket bucket
-- let withoutPrefix = LB.drop (32 + 20 + 32 + 8 + 8 + 368) bucket
-- dataSize = LB.length withoutPrefix - 4
-- shareData = LB.take dataSize withoutPrefix
-- suffix = LB.drop dataSize withoutPrefix
-- -- Our assumption about the data we're working on...
-- assertEqual "Cannot account for extra leases" suffix "\0\0\0\0"
let decoded = decode' shareData
let encoded = (Binary.encode :: Tahoe.SDMF.Share -> LB.ByteString) <$> decoded
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment