如何使用 Web3j 的仲裁客户端发送公共交易?
目前我正在使用此代码发送私人交易,即使我的“privyFor”列表为空,它也会作为私人交易发送。
HttpService httpService = BuildHttpService(NODE);
Quorum quorum = Quorum.build(httpService);
ArrayList<String> privyFor = new ArrayList<>();
// note that privyFor is an empty list
ClientTransactionManager transactionManager = new ClientTransactionManager(quorum, ACCOUNT_ADDRESS, privyFor);