device_ledger: fix uninitialized additional_key
Coverity 200185
This commit is contained in:
parent
7c894fc7fd
commit
f07524b56b
@ -76,7 +76,7 @@ namespace hw {
|
|||||||
rct::key AKout;
|
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 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(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);
|
ABPkeys &operator=(const ABPkeys &keys);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user