good morning!!!!

Skip to content
Snippets Groups Projects
Commit 998f6564 authored by Andrea Franz's avatar Andrea Franz Committed by Guillaume Ballet
Browse files

whisper/shhclient: update call to shh_post to expect string instead of bool (#16757)

Fixes #16756
parent 40a2c523
No related branches found
No related tags found
No related merge requests found
......@@ -159,9 +159,9 @@ func (sc *Client) DeleteSymmetricKey(ctx context.Context, id string) error {
}
// Post a message onto the network.
func (sc *Client) Post(ctx context.Context, message whisper.NewMessage) error {
var ignored bool
return sc.c.CallContext(ctx, &ignored, "shh_post", message)
func (sc *Client) Post(ctx context.Context, message whisper.NewMessage) (string, error) {
var hash string
return hash, sc.c.CallContext(ctx, &hash, "shh_post", message)
}
// SubscribeMessages subscribes to messages that match the given criteria. This method
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment