Make id omitemtpy to match spec better.
This commit is contained in:
parent
621f9006bf
commit
4d0cbb776b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
// Message contains a message to be sent to the bitcoin client.
|
||||
type Message struct {
|
||||
Jsonrpc string `json:"jsonrpc"`
|
||||
Id interface{} `json:"id"`
|
||||
Id interface{} `json:"id,omitempty"`
|
||||
Method string `json:"method"`
|
||||
Params interface{} `json:"params"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue