mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-18 22:21:50 +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 {
|
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()))?
|
||||||
|
Loading…
Reference in New Issue
Block a user