Skip to content
Snippets Groups Projects
Unverified Commit f634fb4b 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 44cb298b
Branches
Tags
No related merge requests found
...@@ -302,7 +302,7 @@ func (transaction *Transaction) GetDataPayload() ([]byte, uint32) { ...@@ -302,7 +302,7 @@ func (transaction *Transaction) GetDataPayload() ([]byte, uint32) {
return transaction.dataPayload, transaction.dataPayloadType return transaction.dataPayload, transaction.dataPayloadType
} }
// return size of the dataPayload as uint32 // DataPayloadSize returns the size of the dataPayload as uint32.
// nil payload as size 0 // nil payload as size 0
func (transaction *Transaction) DataPayloadSize() uint32 { func (transaction *Transaction) DataPayloadSize() uint32 {
transaction.dataPayloadMutex.RLock() transaction.dataPayloadMutex.RLock()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment