/// Create a PartiallySignedTransaction from an unsigned transaction, error
/// if not unsigned
Create a PartiallySignedTransaction from an unsigned transaction, error
if not unsigned
Create a PartiallySignedTransaction from an unsigned transaction error if not unsigned
pub fn from_unsigned_tx(tx: Transaction) -> Result<Self, encode::Error> {
        Ok(PartiallySignedTransaction {
            inputs: vec![Default::default(); tx.input.len()],
            outputs: vec![Default::default(); tx.output.len()],
            global: Global::from_unsigned_tx(tx)?,
        })
    }
pub fn from_unsigned_tx ( tx : Transaction ) -> Result < Self , encode :: Error > { Ok ( PartiallySignedTransaction { inputs : vec ! [ Default default ( ) tx input len ( ) ] , outputs : vec ! [ Default default ( ) tx output len ( ) ] , global : Global :: from_unsigned_tx ( tx ) ? , } ) }
Create a PartiallySignedTransaction from an unsigned transaction, error
if not unsigned
Create a PartiallySignedTransaction from an unsigned transaction error if not unsigned
tx
Transaction