java-sdk icon indicating copy to clipboard operation
java-sdk copied to clipboard

获取高度交易失败

Open jc0803kevin opened this issue 3 years ago • 0 comments

获取某个高度的交易,返回为空。但是这个高度上面是有交易的。

@Test
    public void getBlockTransactions(){
        List<Transaction> result = nodeClient.getBlockTransactions(149611021L);
        System.out.println("size :" + result.size());
        for (Transaction transaction : result) {
            System.out.println(transaction.toString());
        }
    }

jc0803kevin avatar Mar 23 '21 03:03 jc0803kevin