mirror of
https://github.com/Qortal/AT.git
synced 2025-01-30 19:02:14 +00:00
Fix constructing MachineState from creationBytes. Bump to v1.3.2
This commit is contained in:
parent
3e0699f399
commit
36008bdeac
@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.ciyam</groupId>
|
<groupId>org.ciyam</groupId>
|
||||||
<artifactId>AT</artifactId>
|
<artifactId>AT</artifactId>
|
||||||
<version>1.3.1</version>
|
<version>1.3.2</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<properties>
|
<properties>
|
||||||
<skipTests>true</skipTests>
|
<skipTests>true</skipTests>
|
||||||
|
@ -204,7 +204,7 @@ public class MachineState {
|
|||||||
System.arraycopy(creationBytes, HEADER_LENGTH, this.codeByteBuffer.array(), 0, this.numCodePages * this.constants.CODE_PAGE_SIZE);
|
System.arraycopy(creationBytes, HEADER_LENGTH, this.codeByteBuffer.array(), 0, this.numCodePages * this.constants.CODE_PAGE_SIZE);
|
||||||
|
|
||||||
System.arraycopy(creationBytes, HEADER_LENGTH + this.numCodePages * this.constants.CODE_PAGE_SIZE, this.dataByteBuffer.array(), 0,
|
System.arraycopy(creationBytes, HEADER_LENGTH + this.numCodePages * this.constants.CODE_PAGE_SIZE, this.dataByteBuffer.array(), 0,
|
||||||
this.numDataPages + this.constants.DATA_PAGE_SIZE);
|
this.numDataPages * this.constants.DATA_PAGE_SIZE);
|
||||||
|
|
||||||
commonFinalConstruction();
|
commonFinalConstruction();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user