pub fn build_partial_tx(
	receive_amount: u64,
	blind_sum: keychain::BlindingFactor,
	tx: Transaction,
) -> PartialTx {
	PartialTx {
		amount: receive_amount,
		blind_sum: util::to_hex(blind_sum.secret_key().as_ref().to_vec()),
		tx: util::to_hex(ser::ser_vec(&tx).unwrap()),
	}
}
/// Builds a PartialTx from data sent by a sender (not yet completed by the receiver).
Builds a PartialTx from data sent by a sender (not yet completed by the receiver).
Builds a PartialTx from data sent by a sender ( not yet completed by the receiver ) .
pub fn build_partial_tx(
	receive_amount: u64,
	blind_sum: keychain::BlindingFactor,
	tx: Transaction,
) -> PartialTx {
	PartialTx {
		amount: receive_amount,
		blind_sum: util::to_hex(blind_sum.secret_key().as_ref().to_vec()),
		tx: util::to_hex(ser::ser_vec(&tx).unwrap()),
	}
}
pub fn build_partial_tx ( receive_amount : u64 , blind_sum : keychain :: BlindingFactor , tx : Transaction , ) -> PartialTx { PartialTx { amount : receive_amount , blind_sum : util :: to_hex ( blind_sum . secret_key ( ) . as_ref ( ) . to_vec ( ) ) , tx : util :: to_hex ( ser :: ser_vec ( & tx ) . unwrap ( ) ) , } }
Builds a PartialTx from data sent by a sender (not yet completed by the receiver).
Builds a PartialTx from data sent by a sender ( not yet completed by the receiver ) .
receive_amount
u64
blind_sum
keychain::BlindingFactor
tx
Transaction