Skip to content

Commit 1ddc595

Browse files
author
Naohiro Yoshida
committed
tweak tool
Signed-off-by: Naohiro Yoshida <[email protected]>
1 parent 2e08b19 commit 1ddc595

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tool/testdata/internal/create_client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ func (m *createClientModule) createClientSuccessCmd() *cobra.Command {
5454
log.Println("consensusState", common.Bytes2Hex(anyConsState))
5555
log.Println("height", cs.GetLatestHeight().GetRevisionHeight())
5656
log.Println("time", consState.GetTimestamp())
57-
log.Println("currentEpochHash", module.MakeEpochHash(currentValidatorSet, currentTurnLength))
58-
log.Println("previousEpochHash", module.MakeEpochHash(previousValidatorSet, previousTurnLength))
59-
log.Println("storageRoot", consState.(*module.ConsensusState).StateRoot)
57+
log.Println("currentEpochHash", common.BytesToHash(module.MakeEpochHash(currentValidatorSet, currentTurnLength)))
58+
log.Println("previousEpochHash", common.BytesToHash(module.MakeEpochHash(previousValidatorSet, previousTurnLength)))
59+
log.Println("storageRoot", common.BytesToHash(consState.(*module.ConsensusState).StateRoot))
6060

6161
return nil
6262
},

0 commit comments

Comments
 (0)