func NewSignedTransaction(tx *types.Transaction) *SignedTransaction {
	if tx.Expiration == nil {
		expiration := time.Now().Add(30 * time.Second).UTC()
		tx.Expiration = &types.Time{Time: &expiration}
	}

	return &SignedTransaction{tx}
}
//NewSignedTransaction initialization of a new signed transaction
NewSignedTransaction initialization of a new signed transaction
// NewSignedTransaction initialization of a new signed transaction
func NewSignedTransaction(tx *types.Transaction) *SignedTransaction {
	if tx.Expiration == nil {
		expiration := time.Now().Add(30 * time.Second).UTC()
		tx.Expiration = &types.Time{Time: &expiration}
	}
	return &SignedTransaction{tx}
}
func NewSignedTransaction ( tx * types . Transaction ) * SignedTransaction { if tx . Expiration == nil { expiration := time . Now ( ) . Add ( 30 * time . Second ) . UTC ( ) tx . Expiration = & types . Time { Time : & expiration } } return & SignedTransaction { tx } }
NewSignedTransaction initialization of a new signed transaction
NewSignedTransaction initialization of a new signed transaction