Skip to content

Check we don't have a race condition in bin/ethlambda/src/main.rs #194

@pablodeymo

Description

@pablodeymo

In bin/ethlambda/src/main.rs we have:

    // Wire actors together via protocol refs
    let _ = blockchain.actor_ref().recipient::<InitP2P>().send(InitP2P {
        p2p: p2p.actor_ref().to_block_chain_to_p2p_ref(),
    });
    let _ = p2p
        .actor_ref()
        .recipient::<InitBlockChain>()
        .send(InitBlockChain {
            blockchain: blockchain.actor_ref().to_p2p_to_block_chain_ref(),
        });

We have to make sure we don't have a race condition between these 2 calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions