Output filter ID as hex

pull/481/head
Taylor Gerring 10 years ago
parent 704914be08
commit 21fca93852
  1. 2
      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
}

Loading…
Cancel
Save