一个人如何使用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);