aboutsummaryrefslogtreecommitdiffstats
path: root/dex/consensus/core/test/state-change-request.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/consensus/core/test/state-change-request.go')
-rw-r--r--dex/consensus/core/test/state-change-request.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/dex/consensus/core/test/state-change-request.go b/dex/consensus/core/test/state-change-request.go
index a2d02709a..350cb0d3a 100644
--- a/dex/consensus/core/test/state-change-request.go
+++ b/dex/consensus/core/test/state-change-request.go
@@ -194,8 +194,7 @@ func (req *StateChangeRequest) String() (ret string) {
case StateChangeNotarySetSize:
ret += fmt.Sprintf("%v", req.Payload.(uint32))
case StateAddNode:
- ret += fmt.Sprintf(
- "%s", types.NewNodeID(req.Payload.(crypto.PublicKey)).String()[:6])
+ ret += types.NewNodeID(req.Payload.(crypto.PublicKey)).String()[:6]
default:
panic(fmt.Errorf(
"attempting to dump unknown type of state change request: %v",