File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package consensus
3
3
import (
4
4
"bytes"
5
5
"context"
6
+ "encoding/hex"
6
7
"errors"
7
8
"fmt"
8
9
"io"
@@ -2368,6 +2369,7 @@ func (cs *State) signVote(
2368
2369
) (* types.Vote , error ) {
2369
2370
// Flush the WAL. Otherwise, we may not recompute the same vote to sign,
2370
2371
// and the privValidator will refuse to sign anything.
2372
+ fmt .Printf ("signVote: hash: %v\n " , hex .EncodeToString (hash ))
2371
2373
if err := cs .wal .FlushAndSync (); err != nil {
2372
2374
return nil , err
2373
2375
}
Original file line number Diff line number Diff line change 5
5
"encoding/hex"
6
6
"errors"
7
7
"fmt"
8
+ "runtime/debug"
8
9
"strings"
9
10
"time"
10
11
@@ -476,6 +477,7 @@ func (h *Header) Hash() cmtbytes.HexBytes {
476
477
return nil
477
478
}
478
479
fmt .Printf ("h.ImplicitHash: %X\n " , hex .EncodeToString (h .ImplicitHash ))
480
+ debug .PrintStack ()
479
481
480
482
merkleHash1 := merkle .HashFromByteSlices ([][]byte {
481
483
hbz ,
You can’t perform that action at this time.
0 commit comments