Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cherry1603 committed Jan 7, 2023
1 parent 5de9b55 commit 30b9b51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ private BlockResultDTO transferAccountToBlockResultDTO(String address) {
.hash(null)
.balance(String.format("%.9f", amount2xdag(balance)))
.type("wallet")
// .blockTime()
// .timeStamp(kernel.getConfig().getSnapshotSpec().getSnapshotTime())
.blockTime(xdagTimestampToMs(kernel.getConfig().getSnapshotSpec().getSnapshotTime()))
.timeStamp(kernel.getConfig().getSnapshotSpec().getSnapshotTime())
// .flags(Integer.toHexString(block.getInfo().getFlags()))
// .diff(toQuantityJsonHex(block.getInfo().getDifficulty()))
// .remark(block.getInfo().getRemark() == null ? "" : new String(block.getInfo().getRemark(),
Expand Down

0 comments on commit 30b9b51

Please sign in to comment.