mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-18 14:12:00 +03:00
cleaning up dev code
This commit is contained in:
parent
6e98333126
commit
af04f1ae38
@ -201,15 +201,8 @@ fn main(our: Address, mut state: State) -> anyhow::Result<()> {
|
||||
};
|
||||
|
||||
match msg {
|
||||
AllActions::Dev(e) => {
|
||||
|
||||
println!("receiving it {:?}", e);
|
||||
|
||||
}
|
||||
AllActions::EventSubscription(e) => {
|
||||
|
||||
println!("receiving event");
|
||||
|
||||
state.block = hex_to_u64(&e.block_number)?;
|
||||
let nodeId = &e.topics[1];
|
||||
|
||||
@ -302,7 +295,6 @@ fn main(our: Address, mut state: State) -> anyhow::Result<()> {
|
||||
}
|
||||
|
||||
if send {
|
||||
println!("Sending update for {:?}", node);
|
||||
Request::new()
|
||||
.target((&our.node, "net", "sys", "uqbar"))
|
||||
.try_ipc(NetActions::QnsUpdate(node.clone()))?
|
||||
|
Loading…
Reference in New Issue
Block a user