Function send_crypto

Source
pub(crate) async fn send_crypto(
    blockchain: &mut Blockchain,
    wallet1: &mut Wallet,
    wallet2: &mut Wallet,
    i: i16,
    blocks_collection: Collection<Document>,
    wallets_collection: Collection<Document>,
    blockchain_collection: Collection<Document>,
) -> Result<(), Box<dyn Error>>
Expand description

Crypto transaction from one wallet to another.