mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-04 12:10:50 +03:00
assigning node.name and node.node
This commit is contained in:
parent
784d62d232
commit
2936450981
@ -247,6 +247,14 @@ fn main(our: Address, mut state: State) -> anyhow::Result<()> {
|
||||
|
||||
let node = state.nodes.entry(name.clone()).or_insert_with(QnsUpdate::default);
|
||||
|
||||
if node.name == "" {
|
||||
node.name = name.clone();
|
||||
}
|
||||
|
||||
if node.node == "" {
|
||||
node.node = nodeId.clone();
|
||||
}
|
||||
|
||||
match decode_hex(&e.topics[0].clone()) {
|
||||
NodeRegistered::SIGNATURE_HASH => {}
|
||||
KeyUpdate::SIGNATURE_HASH => {
|
||||
|
Loading…
Reference in New Issue
Block a user