func (st *ShardTransaction) Copy() ShardTransaction {
	tx := ShardTransaction{
		TransactionData: make([]byte, len(st.TransactionData)),
	}

	copy(tx.TransactionData, st.TransactionData)

	return tx
}
// Copy returns a copy of the shard trnasaction.
Copy returns a copy of the shard trnasaction.
// Copy returns a copy of the shard trnasaction .
func (st *ShardTransaction) Copy() ShardTransaction {
	tx := ShardTransaction{
		TransactionData: make([]byte, len(st.TransactionData)),
	}
	copy(tx.TransactionData, st.TransactionData)
	return tx
}
func ( st * ShardTransaction ) Copy ( ) ShardTransaction { tx := ShardTransaction { TransactionData : make ( [ ] byte , len ( st . TransactionData ) ) , } copy ( tx . TransactionData , st . TransactionData ) return tx }
Copy returns a copy of the shard trnasaction.
Copy returns a copy of the shard trnasaction .