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:28:01 -0500
commit31a7f12d55303b6545d33f620a58d602f5416fa8 (patch)
tree4b5c1f2f3de78265b0b9188a1d5902c2c9982c5d
parentMerge pull request #9226 (diff)
downloadmonero-31a7f12d55303b6545d33f620a58d602f5416fa8.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 dc3d9768b..b1d4a1e0e 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();