Drop unused Network argument to KeysManager::new().
authorMatt Corallo <git@bluematt.me>
Wed, 3 Feb 2021 04:23:25 +0000 (23:23 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 16 Feb 2021 20:58:02 +0000 (15:58 -0500)
commitc60812bffb7706aa95e163e67775ca1ca343b499
tree5eada20b86b748f147560f9079315e94064d961d
parente7784a6fa517e8134ab01b09391d9faf89e52073
Drop unused Network argument to KeysManager::new().

KeyManager::new() took a bitcoin::Network parameter which needs to
be passed to the BIP 32 Extended Key constructor, but because we
never write out the BIP 32 serialization, it isn't used. Instead,
we just pass a dummy value into `ExtendedPrivKey`, dropping the
unused argument to KeysManager::new().
lightning/src/chain/keysinterface.rs
lightning/src/util/test_utils.rs