-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
- Parity Ethereum version: 2.2.11
- Operating system: MacOS
- Installation: homebrew
- Fully synchronized: yes
- Network: dev
- Restarted: no
Parity client running with the following options:
parity --config dev -lrpc=trace --whisper
When running the following snippet from web3.py:
from web3.auto import w3
from web3.shh import Shh
shh = Shh(w3)
kp = shh.newKeyPair()
pubkey = shh.getPublicKey(kp)
privkey = shh.getPrivateKey(kp)
flt = shh.newMessageFilter({'topics': ['0x12345678'], 'privateKeyID': kp})
shh.post({
'from': kp,
'payload': w3.toHex(text="This is a test!"),
'to': {'public': pubkey},
'topics': ['0x12345678'],
'priority': 1000,
'ttl': 100,
})
received_messages = shh.getMessages(flt.filter_id)
received_messages
which calls shh_getFilterMessages
under the hood, comes back with an empty result ({"jsonrpc":"2.0","result":[],"id":14}.
), even though there should be a message. Any hints would be awesome! Thanks!
Metadata
Metadata
Assignees
Labels
No labels