mirror of
https://github.com/monero-project/monero.git
synced 2024-12-22 11:39:28 +00:00
Merge pull request #9243
c4e1c5a
ringct: fix trunc_amount field name change (jeffro256)
This commit is contained in:
commit
c8214782fb
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue