aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-03-12 12:46:10 -0400
committerluigi1111 <luigi1111w@gmail.com>2024-03-12 12:46:10 -0400
commit81d4db08eb75ce5392c65ca6571e7b08e41b7c95 (patch)
tree05588f4024f8e34d444fa7e5129a87ae371f85a4
parentMerge pull request #9239 (diff)
parentringct: fix trunc_amount field name change (diff)
downloadmonero-0.18.3.3.tar.xz
Merge pull request #9244v0.18.3.3
31a7f12 ringct: fix trunc_amount field name change (jeffro256)
-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();