Browse Source

Fixes CID 1352599 unitialized scalar variable

pull/4/head
Simon 8 years ago
parent
commit
351b38fd5b
  1. 2
      src/primitives/transaction.h

2
src/primitives/transaction.h

@ -52,7 +52,7 @@ public:
// These contain trapdoors, values and other information
// that the recipient needs, including a memo field. It
// is encrypted using the scheme implemented in crypto/NoteEncryption.cpp
boost::array<ZCNoteEncryption::Ciphertext, ZC_NUM_JS_OUTPUTS> ciphertexts;
boost::array<ZCNoteEncryption::Ciphertext, ZC_NUM_JS_OUTPUTS> ciphertexts = {0};
// Random seed
uint256 randomSeed;

Loading…
Cancel
Save