This commit is contained in:
Mamy Ratsimbazafy 2020-06-26 14:36:21 +02:00 committed by GitHub
parent 322a12fed7
commit 9b05581695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ method onDepositEvent*(p: Web3DataProviderRef,
if p.subscription != nil: if p.subscription != nil:
await p.subscription.unsubscribe() await p.subscription.unsubscribe()
debug "Subsribing for deposit events", startBlock debug "Subscribing for deposit events", startBlock
p.subscription = await p.ns.subscribe( p.subscription = await p.ns.subscribe(
DepositEvent, %*{"fromBlock": &"0x{startBlock:X}"}, handler) DepositEvent, %*{"fromBlock": &"0x{startBlock:X}"}, handler)