mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-09 04:21:20 +00:00
17 lines
304 B
Go
17 lines
304 B
Go
|
package commands
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
|
||
|
"github.com/ledgerwatch/erigon/cmd/devnet/services"
|
||
|
"github.com/ledgerwatch/erigon/common"
|
||
|
)
|
||
|
|
||
|
func callSubscribeToNewHeads(hash common.Hash) {
|
||
|
_, err := services.SearchBlockForTransactionHash(hash)
|
||
|
if err != nil {
|
||
|
fmt.Printf("FAILURE => %v\n", err)
|
||
|
return
|
||
|
}
|
||
|
}
|