mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-09 01:13:08 +00:00
Add await to sendEthCallWithChainID
This commit is contained in:
parent
2d1c720457
commit
d42b7e0c24
@ -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