mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-08 08:53:06 +00:00
Add await to sendEthCallWithChainID
This commit is contained in:
parent
61735ac63e
commit
1d3f02d5c5
@ -240,7 +240,7 @@ proc trackRootChanges*(g: OnchainGroupManager) {.async: (raises: [CatchableError
|
||||
|
||||
# also need to update registered membership
|
||||
let functionSignature = "nextFreeIndex()"
|
||||
let nextFreeIndex = sendEthCallWithChainId(
|
||||
let nextFreeIndex = await sendEthCallWithChainId(
|
||||
ethRpc = ethRpc,
|
||||
functionSignature = functionSignature,
|
||||
fromAddress = ethRpc.defaultAccount,
|
||||
@ -671,7 +671,7 @@ method init*(g: OnchainGroupManager): Future[GroupManagerResult[void]] {.async.}
|
||||
|
||||
# Function signature for maxMembershipRateLimit()
|
||||
let functionSignature = "maxMembershipRateLimit()"
|
||||
let maxMembershipRateLimit = sendEthCallWithChainId(
|
||||
let maxMembershipRateLimit = await sendEthCallWithChainId(
|
||||
ethRpc = ethRpc,
|
||||
functionSignature = functionSignature,
|
||||
fromAddress = ethRpc.defaultAccount,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user