device_ledger: fix uninitialized additional_key

Coverity 200185
This commit is contained in:
moneromooo-monero 2019-07-03 13:52:40 +00:00
parent 7c894fc7fd
commit f07524b56b
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -76,7 +76,7 @@ namespace hw {
rct::key AKout;
ABPkeys(const rct::key& A, const rct::key& B, const bool is_subaddr, bool is_subaddress, bool is_change_address, size_t index, const rct::key& P,const rct::key& AK);
ABPkeys(const ABPkeys& keys) ;
ABPkeys() {index=0;is_subaddress=false;is_subaddress=false;is_change_address=false;}
ABPkeys() {index=0;is_subaddress=false;is_change_address=false;additional_key=false;}
ABPkeys &operator=(const ABPkeys &keys);
};