mirror of https://github.com/hykilpikonna/AquaDX
[billing] Fix Java 11 incompatibility in signWithKey
parent
a186f4ae2e
commit
15aac7e6a3
|
@ -73,7 +73,7 @@ public class BillingController {
|
|||
ByteBuffer sigbytes = ByteBuffer.allocate(15);
|
||||
sigbytes.order(ByteOrder.LITTLE_ENDIAN);
|
||||
sigbytes.putInt(0, val);
|
||||
sigbytes.put(4, keychipId.getBytes());
|
||||
sigbytes.put(4, keychipId.getBytes(), 0, keychipId.getBytes().length);
|
||||
|
||||
Signature sig;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue