(v interface{})
| 47 | }() |
| 48 | } |
| 49 | func sendBlock2WSclient(v interface{}) { |
| 50 | if cfg.DefConfig.Ws.HttpWsPort != 0 { |
| 51 | go func() { |
| 52 | pushBlock(v) |
| 53 | pushBlockTransactions(v) |
| 54 | }() |
| 55 | } |
| 56 | } |
| 57 | func Stop() { |
| 58 | if ws == nil { |
| 59 | return |
nothing calls this directly
no test coverage detected