Skip to content

Commit

Permalink
Merge pull request monero-project#9244
Browse files Browse the repository at this point in the history
31a7f12 ringct: fix trunc_amount field name change (jeffro256)
  • Loading branch information
luigi1111 committed Mar 12, 2024
2 parents 453a82f + 31a7f12 commit 81d4db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ringct/rctTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 81d4db0

Please sign in to comment.