mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-04-28 12:03:06 -07:00
chore(API): Specifying a keypair should be opt. at startup
…so we can specify it later using the API.
This commit is contained in:
@@ -188,8 +188,7 @@ pub async fn exchange(options: ExchangeOptions) -> Result<()> {
|
||||
let pk = SPk::load(&pqpk)?;
|
||||
|
||||
let mut srv = Box::new(AppServer::new(
|
||||
sk,
|
||||
pk,
|
||||
Some((sk, pk)),
|
||||
if let Some(listen) = options.listen {
|
||||
vec![listen]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user