Skip to content

Commit a8f5763

Browse files
authored
chore: remove hayabusa ascii art (#1556)
1 parent 932ec4c commit a8f5763

File tree

2 files changed

+0
-108
lines changed

2 files changed

+0
-108
lines changed

cmd/thor/node/ascii_art.go

Lines changed: 0 additions & 86 deletions
This file was deleted.

cmd/thor/node/block_exec.go

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"github.com/pkg/errors"
1414

1515
"github.com/vechain/thor/v2/block"
16-
"github.com/vechain/thor/v2/builtin"
1716
"github.com/vechain/thor/v2/consensus"
1817
"github.com/vechain/thor/v2/log"
1918
"github.com/vechain/thor/v2/logdb"
@@ -220,27 +219,6 @@ func (n *Node) commitBlock(ctx *blockExecContext) error {
220219

221220
func (n *Node) postBlockProcessing(newBlock *block.Block, conflicts uint32) {
222221
if err := func() error {
223-
// print welcome info
224-
if n.initialSynced {
225-
blockNum := newBlock.Header().Number()
226-
blockID := newBlock.Header().ID()
227-
if needPrintWelcomeInfo() &&
228-
blockNum >= n.forkConfig.HAYABUSA+thor.HayabusaTP() &&
229-
// if transition period are set to 0, transition will attempt to happen on every block
230-
(thor.HayabusaTP() == 0 || (blockNum-n.forkConfig.HAYABUSA)%thor.HayabusaTP() == 0) {
231-
summary, err := n.repo.GetBlockSummary(blockID)
232-
if err != nil {
233-
return err
234-
}
235-
active, err := builtin.Staker.Native(n.stater.NewState(summary.Root())).IsPoSActive()
236-
if err != nil {
237-
return nil
238-
}
239-
if active {
240-
printWelcomeInfo()
241-
}
242-
}
243-
}
244222
// scan for double signing, when exiting block at the same height are more than one
245223
if conflicts > 0 {
246224
newSigner, err := newBlock.Header().Signer()

0 commit comments

Comments
 (0)