pub fn award_blocks_to_wallet<C, K>(
	chain: &Chain,
	wallet: Arc<Mutex<dyn WalletInst<C, K>>>,
	number: usize,
) -> Result<(), libwallet::Error>
where
	C: NodeClient,
	K: keychain::Keychain,
{
	for _ in 0..number {
		award_block_to_wallet(chain, vec![], wallet.clone())?;
	}
	Ok(())
}
/// Award a blocks to a wallet directly
Award a blocks to a wallet directly
Award a blocks to a wallet directly
pub fn award_blocks_to_wallet<C, K>(
	chain: &Chain,
	wallet: Arc<Mutex<dyn WalletInst<C, K>>>,
	number: usize,
) -> Result<(), libwallet::Error>
where
	C: NodeClient,
	K: keychain::Keychain,
{
	for _ in 0..number {
		award_block_to_wallet(chain, vec![], wallet.clone())?;
	}
	Ok(())
}
pub fn award_blocks_to_wallet < C , K > ( chain : & Chain , wallet : Arc < Mutex < dyn WalletInst < C , K > > > , number : usize , ) -> Result < ( ) , libwallet :: Error > where C : NodeClient , K : keychain :: Keychain , { for _ in 0 .. number { award_block_to_wallet ( chain , vec ! [ ] , wallet . clone ( ) ) ? ; } Ok ( ( ) ) }
Award a blocks to a wallet directly
Award a blocks to a wallet directly
chain
&Chain
wallet
Arc<Mutex<dyn WalletInst<C, K>>>
number
usize