diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-18 04:40:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-18 04:40:05 +0800 |
commit | 142e81258cd7b77226d706c84f93da417aaaf426 (patch) | |
tree | 3b84c4139d100252512db487c33e2be57191e5d3 /xeth | |
parent | 86661de07746cd4e4ad8d016afee9fa8074aa141 (diff) | |
parent | 048d4ec5be5352dcb06f5123e3458b99aa151e6b (diff) | |
download | dexon-142e81258cd7b77226d706c84f93da417aaaf426.tar.gz dexon-142e81258cd7b77226d706c84f93da417aaaf426.tar.zst dexon-142e81258cd7b77226d706c84f93da417aaaf426.zip |
Merge branch 'develop' into conversion
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)), |