Skip to content

Commit 81d4db0

Browse files
committed
Merge pull request #9244
31a7f12 ringct: fix trunc_amount field name change (jeffro256)
2 parents 453a82f + 31a7f12 commit 81d4db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ringct/rctTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ namespace rct {
374374
memset(ecdhInfo[i].amount.bytes, 0, sizeof(ecdhInfo[i].amount.bytes));
375375
else // saving
376376
memcpy(trunc_amount.data, ecdhInfo[i].amount.bytes, sizeof(trunc_amount));
377-
FIELD(trunc_amount);
377+
FIELD_N("amount", trunc_amount);
378378
if (!typename Archive<W>::is_saving()) // loading
379379
memcpy(ecdhInfo[i].amount.bytes, trunc_amount.data, sizeof(trunc_amount));
380380
ar.end_object();

0 commit comments

Comments
 (0)