Skip to content

Commit

Permalink
7135: ISS in account store after migration to disk (0.39) (#7136)
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Ananev <artem.ananev@swirldslabs.com>
  • Loading branch information
artemananiev committed Jun 16, 2023
1 parent 9e999ef commit dd0c9e8
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -110,6 +110,11 @@ public OnDiskAccount(final OnDiskAccount that) {
this.hbarAllowances = that.hbarAllowances;
this.fungibleAllowances = that.fungibleAllowances;
this.nftOperatorApprovals = that.nftOperatorApprovals;
this.firstStorageKeyNonZeroBytes = that.firstStorageKeyNonZeroBytes;
if (that.firstStorageKey != null) {
this.firstStorageKey = new int[that.firstStorageKey.length];
System.arraycopy(that.firstStorageKey, 0, this.firstStorageKey, 0, that.firstStorageKey.length);
}
System.arraycopy(that.ints, 0, this.ints, 0, IntValues.COUNT);
System.arraycopy(that.longs, 0, this.longs, 0, LongValues.COUNT);
}
Expand Down

0 comments on commit dd0c9e8

Please sign in to comment.