From c5f01fccb28db16d7d75facbce87305f9963f848 Mon Sep 17 00:00:00 2001 From: cherry1603 <565993183@qq.com> Date: Sat, 7 Jan 2023 18:16:49 +0800 Subject: [PATCH] fix --- src/main/java/io/xdag/rpc/modules/xdag/XdagModuleChainBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/xdag/rpc/modules/xdag/XdagModuleChainBase.java b/src/main/java/io/xdag/rpc/modules/xdag/XdagModuleChainBase.java index d9d32649..c6b29265 100644 --- a/src/main/java/io/xdag/rpc/modules/xdag/XdagModuleChainBase.java +++ b/src/main/java/io/xdag/rpc/modules/xdag/XdagModuleChainBase.java @@ -221,7 +221,7 @@ private BlockResultDTO transferAccountToBlockResultDTO(String address) { BlockResultDTOBuilder.address(address) .hash(null) .balance(String.format("%.9f", amount2xdag(balance))) - .type("wallet") + .type("Wallet") .blockTime(xdagTimestampToMs(kernel.getConfig().getSnapshotSpec().getSnapshotTime())) .timeStamp(kernel.getConfig().getSnapshotSpec().getSnapshotTime()) // .flags(Integer.toHexString(block.getInfo().getFlags()))