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.
package transfer
import (
	"encoding/binary"
	"github.com/phoreproject/synapse/shard/state"
)
type ShardTransaction struct {
	FromPubkeyHash [20]byte
	Signature      [65]byte
	ToPubkeyHash   [20]byte
	Amount         uint64
	Nonce          uint32
}