소스 검색

Added whisper handler

obscuren 11 년 전
부모
커밋
6ff9d5770b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      eth/backend.go

+ 4 - 0
eth/backend.go

@@ -123,6 +123,10 @@ func (s *Ethereum) BlockPool() *BlockPool {
 	return s.blockPool
 }
 
+func (s *Ethereum) Whisper() *whisper.Whisper {
+	return s.whisper
+}
+
 func (s *Ethereum) EventMux() *event.TypeMux {
 	return s.eventMux
 }