aboutsummaryrefslogtreecommitdiffstats
path: root/mobile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-10-17 20:17:14 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-14 23:56:58 +0800
commitb7dfd333c5ac5caf4278e2557503dc4fe4eb46c9 (patch)
tree56aa781c07c9b2a8718af0c69d65b661008fbafa /mobile
parent178da7c6a94718389e7192d87df5ee42e7223bc3 (diff)
downloaddexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.gz
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.bz2
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.lz
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.xz
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.zst
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.zip
.travis, build: Build step to push .aar to Maven Central
Diffstat (limited to 'mobile')
-rw-r--r--mobile/geth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile/geth.go b/mobile/geth.go
index cb421868c..969919ba8 100644
--- a/mobile/geth.go
+++ b/mobile/geth.go
@@ -32,7 +32,7 @@ import (
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/node"
"github.com/ethereum/go-ethereum/p2p/nat"
- "github.com/ethereum/go-ethereum/whisper"
+ "github.com/ethereum/go-ethereum/whisper/whisperv2"
)
// NodeConfig represents the collection of configuration values to fine tune the Geth
@@ -150,7 +150,7 @@ func NewNode(datadir string, config *NodeConfig) (*Node, error) {
}
// Register the Whisper protocol if requested
if config.WhisperEnabled {
- if err := stack.Register(func(*node.ServiceContext) (node.Service, error) { return whisper.New(), nil }); err != nil {
+ if err := stack.Register(func(*node.ServiceContext) (node.Service, error) { return whisperv2.New(), nil }); err != nil {
return nil, fmt.Errorf("whisper init: %v", err)
}
}