Fixed typo in DAI docs example (#958).

This commit is contained in:
Richard Moore 2020-07-18 06:08:45 -04:00
parent 5a4e3ede2a
commit 771190202f
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
1 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ provider.once(txHash, (transaction) => {
filter = {
address: "dai.tokens.ethers.eth",
topics: [
utils.id("Transfer(address,address,uint256")
utils.id("Transfer(address,address,uint256)")
]
}
provider.on(filter, (log, event) => {
@ -293,7 +293,7 @@ provider.on(filter, (log, event) => {
// Notice this is an array of topic-sets and is identical to
// using a filter with no address (i.e. match any address)
topicSets = [
utils.id("Transfer(address,address,uint256"),
utils.id("Transfer(address,address,uint256)"),
null,
[
myAddress,