aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2024-03-11 20:21:18 -0500
committerjeffro256 <jeffro256@tutanota.com>2024-03-11 20:21:22 -0500
commitc4e1c5a640a8b071eab683366c03ebc145c07092 (patch)
treedbe09a1da93562ae8c2e77f043427f8455a8ecc6
parentMerge pull request #9225 (diff)
downloadmonero-c4e1c5a640a8b071eab683366c03ebc145c07092.tar.xz
ringct: fix trunc_amount field name change
Caused in commit 05231400cebfeedbbc0a5386f38a033bba6314b3, PR #9035.
-rw-r--r--src/ringct/rctTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h
index c168c8571..299798e17 100644
--- a/src/ringct/rctTypes.h
+++ b/src/ringct/rctTypes.h
@@ -374,7 +374,7 @@ namespace rct {
memset(ecdhInfo[i].amount.bytes, 0, sizeof(ecdhInfo[i].amount.bytes));
else // saving
memcpy(trunc_amount.data, ecdhInfo[i].amount.bytes, sizeof(trunc_amount));
- FIELD(trunc_amount);
+ FIELD_N("amount", trunc_amount);
if (!typename Archive<W>::is_saving()) // loading
memcpy(ecdhInfo[i].amount.bytes, trunc_amount.data, sizeof(trunc_amount));
ar.end_object();