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:
parent
26dad8cf33
commit
484e982bdf
|
@ -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')
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue