Value & revision for a transaction entry #1261
Answered
by
jeroiraz
grossvater
asked this question in
Q&A
-
Hi,
How could I get the revision and value set by the transaction? |
Beta Was this translation helpful? Give feedback.
Answered by
jeroiraz
Jul 1, 2022
Replies: 1 comment 5 replies
-
When iterating over raw transactions, entries do not hold the actual payload but a reference to the value (and its digest). The store provides the value, err := st.ReadValue(e) |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
grossvater
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When iterating over raw transactions, entries do not hold the actual payload but a reference to the value (and its digest). The store provides the
ReadValue
method to fetch the actual value: