File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package consensus
33import (
44 "bytes"
55 "context"
6+ "encoding/hex"
67 "errors"
78 "fmt"
89 "io"
@@ -2368,6 +2369,7 @@ func (cs *State) signVote(
23682369) (* types.Vote , error ) {
23692370 // Flush the WAL. Otherwise, we may not recompute the same vote to sign,
23702371 // and the privValidator will refuse to sign anything.
2372+ fmt .Printf ("signVote: hash: %v\n " , hex .EncodeToString (hash ))
23712373 if err := cs .wal .FlushAndSync (); err != nil {
23722374 return nil , err
23732375 }
Original file line number Diff line number Diff line change 55 "encoding/hex"
66 "errors"
77 "fmt"
8+ "runtime/debug"
89 "strings"
910 "time"
1011
@@ -476,6 +477,7 @@ func (h *Header) Hash() cmtbytes.HexBytes {
476477 return nil
477478 }
478479 fmt .Printf ("h.ImplicitHash: %X\n " , hex .EncodeToString (h .ImplicitHash ))
480+ debug .PrintStack ()
479481
480482 merkleHash1 := merkle .HashFromByteSlices ([][]byte {
481483 hbz ,
You can’t perform that action at this time.
0 commit comments