mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-14 17:26:11 -04:00
Seed should neither be Clone nor Copy
It is better to not copy around secret data within our process to make heartbleed-like attacks harder.
This commit is contained in:
parent
5860d511c9
commit
73f30320a6
3 changed files with 6 additions and 7 deletions
|
@ -43,7 +43,6 @@ pub struct StartingBalances {
|
|||
pub btc: bitcoin::Amount,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
struct BobParams {
|
||||
seed: Seed,
|
||||
db_path: PathBuf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue