@@ -349,7 +349,7 @@ func (self *EthereumApi) MessagesChanged(id int, reply *interface{}) error {
349
349
}
350
350
351
351
func (p * EthereumApi ) WhisperPost (args * WhisperMessageArgs , reply * interface {}) error {
352
- err := p .xeth .Whisper ().Post (args .Payload , args .To , args .From , args .Topics , args .Priority , args .Ttl )
352
+ err := p .xeth .Whisper ().Post (args .Payload , args .To , args .From , args .Topic , args .Priority , args .Ttl )
353
353
if err != nil {
354
354
return err
355
355
}
@@ -445,13 +445,13 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
445
445
}
446
446
return p .NewFilterString (args , reply )
447
447
case "eth_changed" :
448
- args , err := req .ToFilterChangedArgs ()
448
+ args , err := req .ToIdArgs ()
449
449
if err != nil {
450
450
return err
451
451
}
452
452
return p .FilterChanged (args , reply )
453
453
case "eth_filterLogs" :
454
- args , err := req .ToFilterChangedArgs ()
454
+ args , err := req .ToIdArgs ()
455
455
if err != nil {
456
456
return err
457
457
}
@@ -504,7 +504,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
504
504
}
505
505
return p .NewWhisperFilter (args , reply )
506
506
case "shh_changed" :
507
- args , err := req .ToWhisperIdArgs ()
507
+ args , err := req .ToIdArgs ()
508
508
if err != nil {
509
509
return err
510
510
}
@@ -522,7 +522,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
522
522
}
523
523
return p .HasWhisperIdentity (args , reply )
524
524
case "shh_getMessages" :
525
- args , err := req .ToWhisperIdArgs ()
525
+ args , err := req .ToIdArgs ()
526
526
if err != nil {
527
527
return err
528
528
}
0 commit comments