You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following returns a different receipt for confidential vs non-confidential: let receipt = await instance.methods.transfer(accounts[1], amount).send();
For non-confidential, the key is not 0, but instead, Transfer, which is the name of the event.
The text was updated successfully, but these errors were encountered:
armaniferrante
changed the title
Sending transaction potentially returns wrong key in receipt
Sending confidential transaction returns different event key in the transaction receipt.
Nov 6, 2018
I guess the issue is that the name of the event Transfer is meant to be confidential, so we should expect a response we can decrypt / map back to the actual type
The following returns a different receipt for confidential vs non-confidential:
let receipt = await instance.methods.transfer(accounts[1], amount).send();
For confidential we get for
receipt.events
For non-confidential, the key is not 0, but instead, Transfer, which is the name of the event.
The text was updated successfully, but these errors were encountered: