burningice

Results 4 issues of burningice

com.webank.weid.blockchain.protocol.response.ResponseData resp = evidenceBlockchainService.createEvidence( hashValue, signature, extra, timestamp, privateKey ); if (resp.getErrorCode() == ErrorCode.SUCCESS.getCode()) { return new ResponseData(resp.getResult(), ErrorCode.SUCCESS); } else { return new ResponseData(StringUtils.EMPTY, resp.getErrorCode(), resp.getErrorMessage()); } 该处的 return...

方法中的 case BYTES:例子中不应该用new String,我出现了乱码问题,我的上链原文是0xdd4cca4dd73078858a3261c3d22f706971b48fa2af862efe1141d2ff9156b729,对应合约的byte32,到byte[]是正常的也就是formatBytesN(argObject),此时不应该用new String,应该是16进制解码,这里new String就直接乱码了,上链的是did服务的凭证hash case BYTES: result.add(new String(formatBytesN(argObject))); continue;

pending too long

运行报错 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2023-10-13 14:35:39.383 ERROR 92579 --- [ main] o.s.b.SpringApplication : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating...