Rename 'peer' parameter to 'mailServerPeer' in shh_requestMessages call

To conform to the latest status-go interface

Update status-go build to 'develop-gb7fb51d9'

Remove "from" parameter as it defaults to 0
This commit is contained in:
Dmitry Novotochinov 2017-12-21 14:42:12 +03:00
parent 26dad8cf33
commit 484e982bdf
No known key found for this signature in database
GPG Key ID: 267674DCC86628D9
3 changed files with 7 additions and 6 deletions

View File

@ -17,5 +17,5 @@ dependencies {
compile 'com.instabug.library:instabug:3+'
compile 'com.github.ericwlange:AndroidJSCore:3.0.1'
compile 'status-im:function:0.0.1'
compile(group: 'status-im', name: 'status-go', version: 'develop-gba6c9653', ext: 'aar')
compile(group: 'status-im', name: 'status-go', version: 'develop-gb7fb51d9', ext: 'aar')
}

View File

@ -25,7 +25,7 @@
<artifactItem>
<groupId>status-im</groupId>
<artifactId>status-go-ios-simulator</artifactId>
<version>develop-gba6c9653</version>
<version>develop-gb7fb51d9</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>./</outputDirectory>

View File

@ -45,10 +45,11 @@
(let [args {:jsonrpc "2.0"
:id 2
:method "shh_requestMessages"
:params [{:peer enode
:topic topic
:symKeyID sym-key-id
:from 0}]}
;; NOTE: "from" and "to" parameters omitted here
;; by default "from" is 24 hours ago and "to" is time now
:params [{:mailServerPeer enode
:topic topic
:symKeyID sym-key-id}]}
payload (.stringify js/JSON (clj->js args))]
(log/info "offline inbox: request-messages request")
(log/info "offline inbox: request-messages args" (pr-str args))