removed timestamp from canonical vote so they won't be signed

This commit is contained in:
Jeremiah Andrews
2018-06-08 17:11:57 -07:00
parent 5ebf9b816b
commit 5fe60feb09
5 changed files with 14 additions and 48 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ We call this encoding the CanonicalSignBytes. For instance, CanonicalSignBytes f
like:
```json
{"chain_id":"my-chain-id","vote":{"block_id":{"hash":DEADBEEF,"parts":{"hash":BEEFDEAD,"total":3}},"height":3,"round":2,"timestamp":1234567890, "type":2}
{"chain_id":"my-chain-id","vote":{"block_id":{"hash":DEADBEEF,"parts":{"hash":BEEFDEAD,"total":3}},"height":3,"round":2, "type":2}
```
Note how the fields within each level are sorted.