get rid of hacky newDoc2()

This commit is contained in:
Ross Kinder
2015-12-23 15:09:37 -05:00
parent 67af552ad1
commit 6113cc3d6f
5 changed files with 7 additions and 29 deletions

View File

@@ -48,7 +48,7 @@ func Decrypt(privateKey []byte, doc []byte) ([]byte, error) {
return nil, popError()
}
parsedDoc, err := newDoc(doc)
parsedDoc, err := newDoc(doc, nil)
if err != nil {
return nil, err
}