Remove libc explicit dependency after 0.2.131 was published with the needed fix
Specify correct feature dependencies for signer lightning-signer-core crate
Log when the signer's handle call returned
This commit is contained in:
decentclock
2022-08-12 09:34:17 -06:00
parent 3155b1c817
commit a52401d9d0
3 changed files with 4 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ sphinx-key-parser = { path = "../parser" }
sphinx-key-persister = { path = "../persister" }
# vls-protocol-signer = { path = "../../../evanf/validating-lightning-signer/vls-protocol-signer", default-features = false, features = ["std", "secp-lowmemory"] }
# vls-protocol-signer = { git = "https://gitlab.com/lightning-signer/validating-lightning-signer", default-features = false, features = ["secp-lowmemory"] }
lightning-signer-core = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "sphinx-key-1.2" }
lightning-signer-core = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "sphinx-key-1.2", default-features = false, features = ["std", "secp-lowmemory"] }
vls-protocol-signer = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "sphinx-key-1.2", default-features = false, features = ["std", "secp-lowmemory"] }
anyhow = {version = "1", features = ["backtrace"]}
log = "0.4"

View File

@@ -89,6 +89,9 @@ pub fn handle(
} else {
root_handler.handle(message).expect("handle")
};
if do_log {
log::info!("VLS msg handled");
}
let mut out_md = MsgDriver::new_empty();
write_serial_response_header(&mut out_md, sequence).expect("write reply header");
msgs::write_vec(&mut out_md, reply.as_vec()).expect("write reply");

View File

@@ -20,7 +20,6 @@ pingpong = []
no_persist = []
[dependencies]
libc = "=0.2.127"
bitflags = "1.3.2"
esp-idf-sys = { version = "0.31.6", features = ["binstart"] }
sphinx-key-signer = { path = "../signer", optional = true }