aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-18 04:30:29 +0800
committerobscuren <geffobscura@gmail.com>2015-03-18 04:30:29 +0800
commit048d4ec5be5352dcb06f5123e3458b99aa151e6b (patch)
tree712f8823391286438a0e5c3d1f53c4682254650e /xeth
parent53104b09fa823cb5457960b8518b9650a5b083da (diff)
parent917050dc30d8717d7e0bba1257165c1aec44887f (diff)
downloaddexon-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar.gz
dexon-048d4ec5be5352dcb06f5123e3458b99aa151e6b.tar.zst
dexon-048d4ec5be5352dcb06f5123e3458b99aa151e6b.zip
Merge branch 'rpcfrontier' into develop
Diffstat (limited to 'xeth')
-rw-r--r--xeth/whisper.go6
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)),