Function create_nonce_matcher

Source
pub fn create_nonce_matcher<T: VanityMatcher>(
    matcher: T,
    nonce: u64,
) -> impl Fn(&GeneratedWallet) -> bool
Expand description

Creates a nonce matcher function, which takes a reference to a GeneratedWallet and a nonce and returns whether it found a match or not by using matcher.