Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroXbrock committed Aug 8, 2024
1 parent 67e518b commit 6989e1f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions core/vm/contracts_suave_runtime_adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,24 +104,10 @@ func (m *mockRuntime) randomBytes(length uint8) ([]byte, error) {
}

func (m *mockRuntime) aesEncrypt(key []byte, message []byte) ([]byte, error) {
// cipher, err := aes.NewCipher(key.Bytes())
// if err != nil {
// return nil, err
// }
// buf := make([]byte, aes.BlockSize+len(message))
// cipher.Encrypt(buf, message)
// return buf, nil
return []byte{0x1}, nil
}

func (m *mockRuntime) aesDecrypt(key []byte, ciphertext []byte) ([]byte, error) {
// cipher, err := aes.NewCipher(key.Bytes())
// if err != nil {
// return nil, err
// }
// buf := make([]byte, aes.BlockSize+len(message))
// cipher.Decrypt(buf, message)
// return buf, nil
return []byte{0x1}, nil
}

Expand Down

0 comments on commit 6989e1f

Please sign in to comment.