Skip to content

Commit

Permalink
Phoenix: Implement Swap instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
skynetcap committed Nov 28, 2023
1 parent e460c43 commit 00d15cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public byte[] toBytes() {
buffer.put(0, side);
buffer.put(1, (byte) 1); // coption for present = 1
buffer.putLong(2, side == 0 ? 4503599627370496L : 0x00);
buffer.putLong(10, 0x00); //numBaseLots
buffer.putLong(10, numBaseLots);
buffer.putLong(18, numQuoteLots);
buffer.putLong(26, 0x00); // min base lots to fill
buffer.putLong(34, 0x00); // quote lots to Fill
Expand Down

0 comments on commit 00d15cc

Please sign in to comment.