Skip to content
Snippets Groups Projects
Unverified Commit 44cb298b authored by lunfardo314's avatar lunfardo314 Committed by GitHub
Browse files

Update packages/binary/valuetransfer/transaction/transaction.go


Co-Authored-By: default avatarWolfgang Welz <welzwo@gmail.com>
parent dc1f20a3
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ func (transaction *Transaction) SetDataPayload(data []byte, payloadType uint32) ...@@ -294,7 +294,7 @@ func (transaction *Transaction) SetDataPayload(data []byte, payloadType uint32)
return nil return nil
} }
// gets the dataPayload and its type // GetDataPayload gets the dataPayload and its type
func (transaction *Transaction) GetDataPayload() ([]byte, uint32) { func (transaction *Transaction) GetDataPayload() ([]byte, uint32) {
transaction.dataPayloadMutex.RLock() transaction.dataPayloadMutex.RLock()
defer transaction.dataPayloadMutex.RUnlock() defer transaction.dataPayloadMutex.RUnlock()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment