fix(contacts): fix `getVerificationRequestFrom` API

The underlying API was mistakenly removed in status-go, then
reintroduced, but as `getLatestVerficiationRequestFrom`.

This commit fixes the RPC call.

Needs https://github.com/status-im/status-go/pull/2934
This commit is contained in:
Pascal Precht 2022-10-28 16:22:31 +02:00 committed by r4bbit.eth
parent 0806d657d3
commit e8437d3b0c
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ proc getVerificationRequestSentTo*(pubkey: string): RpcResponse[JsonNode] {.rais
proc getVerificationRequestFrom*(pubkey: string): RpcResponse[JsonNode] {.raises: [Exception].} =
let payload = %* [pubkey]
result = callPrivateRPC("getVerificationRequestFrom".prefix, payload)
result = callPrivateRPC("getLatestVerificationRequestFrom".prefix, payload)
proc getReceivedVerificationRequests*(): RpcResponse[JsonNode] {.raises: [Exception].} =
let payload = %* []

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit c2b17acc074fa2630fd5a5c69aaa8ac8099d5c65
Subproject commit 956534210111815202ba001bbc69a3411ebbb429