[][src]Function grin_wallet::libwallet::internal::selection::build_recipient_output_with_slate

pub fn build_recipient_output_with_slate<T: ?Sized, C, K>(
    wallet: &mut T,
    slate: &mut Slate,
    parent_key_id: Identifier
) -> Result<(Identifier, Context, impl FnOnce(&mut T) -> Result<(), Error>), Error> where
    T: WalletBackend<C, K>,
    C: NodeClient,
    K: Keychain

Creates a new output in the wallet for the recipient, returning the key of the fresh output and a closure that actually performs the addition of the output to the wallet