diff options
Diffstat (limited to 'core/types/position.go')
-rw-r--r-- | core/types/position.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/types/position.go b/core/types/position.go index 1fc7e6b..8822f6e 100644 --- a/core/types/position.go +++ b/core/types/position.go @@ -29,7 +29,8 @@ type Position struct { } func (pos *Position) String() string { - return fmt.Sprintf("[%d:%d:%d]", pos.Round, pos.ChainID, pos.Height) + return fmt.Sprintf("Position{Round:%d Chain:%d Height:%d}", + pos.Round, pos.ChainID, pos.Height) } // Equal checks if two positions are equal, it panics when their chainIDs |