[billing] Fix Java 11 incompatibility in signWithKey

pull/1/head
Dom Eori 2022-03-17 16:51:49 +09:00
parent a186f4ae2e
commit 15aac7e6a3
1 changed files with 1 additions and 1 deletions

View File

@ -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 {