Taylor Gerring 10 жил өмнө
parent
commit
21fca93852
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      rpc/api.go

+ 1 - 1
rpc/api.go

@@ -380,7 +380,7 @@ func (p *EthereumApi) NewWhisperFilter(args *WhisperFilterArgs, reply *interface
 	}
 	id = p.xeth().Whisper().Watch(opts)
 	p.messages[id] = &whisperFilter{timeout: time.Now()}
-	*reply = id
+	*reply = toHex(big.NewInt(int64(id)).Bytes())
 	return nil
 }