3
0
mirror of https://github.com/Qortal/AT.git synced 2025-01-29 02:22:13 +00:00

Minor JavaDoc fix-up, in particular the wrong explanation for SLP_VAL OpCode

This commit is contained in:
catbref 2021-12-02 21:10:11 +00:00
parent ae23aac716
commit 836ef215d4

View File

@ -561,7 +561,7 @@ public enum OpCode {
/**
* <b>SL</b>ee<b>P</b> until <b>DAT</b>a<br>
* <code>0x25 addr</code><br>
* <code>sleep until $addr, then carry on from current PC</code><br>
* Sleep until <code>$addr</code>, then carry on from current <code>PC</code><br>
* Note: The value from <code>$addr</code> is considered to be a block height.
*/
SLP_DAT(0x25, OpCodeParam.BLOCK_HEIGHT) {
@ -634,7 +634,7 @@ public enum OpCode {
/**
* <b>SL</b>ee<b>P</b> <b>IM</b>me<b>D</b>iately<br>
* <code>0x2a</code><br>
* <code>sleep until next block, then carry on from current PC</code>
* Sleep until next block, then carry on from current <code>PC</code>
*/
SLP_IMD(0x2a) {
@Override
@ -659,8 +659,7 @@ public enum OpCode {
/**
* <b>SL</b>ee<b>P</b> for <b>VAL</b>ue blocks<br>
* <code>0x2c value</code><br>
* <code>sleep until $addr, then carry on from current PC</code><br>
* Note: The value from <code>$addr</code> is considered to be a block height.
* Sleep for <code>value</code> blocks, then carry on from current <code>PC</code>
*/
SLP_VAL(0x2c, OpCodeParam.VALUE) {
@Override