MCPcopy Create free account
hub / github.com/CPChain/chain / SetData

Method SetData

types/transaction.go:442–442  ·  view source on GitHub ↗
(newData []byte)

Source from the content-addressed store, hash-verified

440func (m Message) Nonce() uint64 { return m.nonce }
441func (m Message) Data() []byte { return m.data }
442func (m *Message) SetData(newData []byte) { m.data = newData }
443func (m Message) CheckNonce() bool { return m.checkNonce }
444
445// SupportTxType returns if a transaction type is supported.

Callers 2

ApplyTransactionFunction · 0.80
tryApplyPrivateTxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected