cleaning up dev code

This commit is contained in:
commercium-sys 2023-12-27 19:49:05 -05:00
parent 6e98333126
commit af04f1ae38

View File

@ -201,15 +201,8 @@ fn main(our: Address, mut state: State) -> anyhow::Result<()> {
}; };
match msg { match msg {
AllActions::Dev(e) => {
println!("receiving it {:?}", e);
}
AllActions::EventSubscription(e) => { AllActions::EventSubscription(e) => {
println!("receiving event");
state.block = hex_to_u64(&e.block_number)?; state.block = hex_to_u64(&e.block_number)?;
let nodeId = &e.topics[1]; let nodeId = &e.topics[1];
@ -302,7 +295,6 @@ fn main(our: Address, mut state: State) -> anyhow::Result<()> {
} }
if send { if send {
println!("Sending update for {:?}", node);
Request::new() Request::new()
.target((&our.node, "net", "sys", "uqbar")) .target((&our.node, "net", "sys", "uqbar"))
.try_ipc(NetActions::QnsUpdate(node.clone()))? .try_ipc(NetActions::QnsUpdate(node.clone()))?