diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-18 04:30:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-18 04:30:29 +0800 |
commit | 048d4ec5be5352dcb06f5123e3458b99aa151e6b (patch) | |
tree | 712f8823391286438a0e5c3d1f53c4682254650e /xeth | |
parent | 53104b09fa823cb5457960b8518b9650a5b083da (diff) | |
parent | 917050dc30d8717d7e0bba1257165c1aec44887f (diff) | |
download | go-tangerine-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar go-tangerine-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar.gz go-tangerine-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar.bz2 go-tangerine-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar.lz go-tangerine-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar.xz go-tangerine-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar.zst go-tangerine-048d4ec5be5352dcb06f5123e3458b99aa151e6b.zip |
Merge branch 'rpcfrontier' into develop
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/whisper.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xeth/whisper.go b/xeth/whisper.go index 76bf8012a..c0be4c392 100644 --- a/xeth/whisper.go +++ b/xeth/whisper.go @@ -4,8 +4,8 @@ import ( "errors" "time" - "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/whisper" ) @@ -63,6 +63,10 @@ func (self *Whisper) HasIdentity(key string) bool { return self.Whisper.HasIdentity(crypto.ToECDSAPub(common.FromHex(key))) } +// func (self *Whisper) RemoveIdentity(key string) bool { +// return self.Whisper.RemoveIdentity(crypto.ToECDSAPub(common.FromHex(key))) +// } + func (self *Whisper) Watch(opts *Options) int { filter := whisper.Filter{ To: crypto.ToECDSAPub(common.FromHex(opts.To)), |