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:
Thomas Eizinger 2021-03-23 16:53:25 +11:00
parent 5860d511c9
commit 73f30320a6
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
3 changed files with 6 additions and 7 deletions

View file

@ -43,7 +43,6 @@ pub struct StartingBalances {
pub btc: bitcoin::Amount,
}
#[derive(Clone)]
struct BobParams {
seed: Seed,
db_path: PathBuf,