File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -155,14 +155,6 @@ describe('Account', () => {
155155 // Ensure the records were decrypted to the correct data
156156 expect ( decryptedRecords ) . deep . equal ( [ recordPlaintextString , recordPlaintextString ] ) ;
157157 } ) ;
158-
159- it ( 'decrypts a record in ciphertext form with a record view key' , ( ) => {
160- const account = new Account ( { privateKey : "APrivateKey1zkpJkyYRGYtkeHDaFfwsKtUJzia7csiWhfBWPXWhXJzy9Ls" } ) ;
161- const recordCiphertext = RecordCiphertext . fromString ( recordCiphertextString ) ;
162- const recordViewKey = account . generateRecordViewKey ( recordCiphertext ) ;
163- const decryptedCiphertext = account . decryptRecordWithRecordViewKey ( recordCiphertextString , recordViewKey ) ;
164- expect ( decryptedCiphertext ) . equal ( recordPlaintextString ) ;
165- } )
166158 } ) ;
167159
168160 describe ( 'Sign and Verify' , ( ) => {
You can’t perform that action at this time.
0 commit comments