func (t *ShardTransaction) GetTransactionData() [33]byte {
	var amountBytes [8]byte
	binary.BigEndian.PutUint64(amountBytes[:], t.Amount)

	var txData [33]byte
	txData[0] = 0
	binary.BigEndian.PutUint32(txData[1:5], t.Nonce)

	copy(txData[5:25], t.ToPubkeyHash[:])
	binary.BigEndian.PutUint64(txData[25:33], t.Amount)

	return txData
}
// GetTransactionData gets the transaction data.
GetTransactionData gets the transaction data.
// GetTransactionData gets the transaction data .
func (t *ShardTransaction) GetTransactionData() [33]byte {
	var amountBytes [8]byte
	binary.BigEndian.PutUint64(amountBytes[:], t.Amount)
	var txData [33]byte
	txData[0] = 0
	binary.BigEndian.PutUint32(txData[1:5], t.Nonce)
	copy(txData[5:25], t.ToPubkeyHash[:])
	binary.BigEndian.PutUint64(txData[25:33], t.Amount)
	return txData
}
func ( t * ShardTransaction ) GetTransactionData ( ) [ 33 ] byte { var amountBytes [ 8 ] byte binary . BigEndian . PutUint64 ( amountBytes [ : ] , t . Amount ) var txData [ 33 ] byte txData [ 0 ] = 0 binary . BigEndian . PutUint32 ( txData [ 1 : 5 ] , t . Nonce ) copy ( txData [ 5 : 25 ] , t . ToPubkeyHash [ : ] ) binary . BigEndian . PutUint64 ( txData [ 25 : 33 ] , t . Amount ) return txData }
GetTransactionData gets the transaction data.
GetTransactionData gets the transaction data .