From cb63c922f8879e8f70c7ab5d73a3806cc10e5e68 Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Mon, 11 Mar 2024 20:21:18 -0500 Subject: [PATCH] ringct: fix trunc_amount field name change Caused in commit 05231400cebfeedbbc0a5386f38a033bba6314b3, PR #9035. --- src/ringct/rctTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 3d7516923..7c7a417ad 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -378,7 +378,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::is_saving()) // loading memcpy(ecdhInfo[i].amount.bytes, trunc_amount.data, sizeof(trunc_amount)); ar.end_object();