diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-05 19:59:45 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-05 20:26:44 +0100 |
commit | d81e042306e3ce31abd2749a737055b4c6c8eba8 (patch) | |
tree | 503e83f5f0a7b20e6314f1aa2d2a102427944d85 /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #3866 (diff) | |
download | monero-d81e042306e3ce31abd2749a737055b4c6c8eba8.tar.xz |
tx_pool: initialize bitflags padding since it gets written to storage
Avoids valgrind reporting uninitialized data usage
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index 19ba32340..564016fc9 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -148,6 +148,7 @@ struct txpool_tx_meta_t uint8_t relayed; uint8_t do_not_relay; uint8_t double_spend_seen: 1; + uint8_t bf_padding: 7; uint8_t padding[76]; // till 192 bytes }; |