mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-04 23:57:29 +08:00
[billing] Fix Java 11 incompatibility in signWithKey
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user