mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 02:31:46 +00:00
Refactor Tx, Validator, and Account structure
This commit is contained in:
@ -7,8 +7,8 @@ import (
|
||||
|
||||
// Time
|
||||
|
||||
func WriteTime(w io.Writer, t time.Time, n *int64, err *error) {
|
||||
WriteInt64(w, t.UnixNano(), n, err)
|
||||
func WriteTime(t time.Time, w io.Writer, n *int64, err *error) {
|
||||
WriteInt64(t.UnixNano(), w, n, err)
|
||||
}
|
||||
|
||||
func ReadTime(r io.Reader, n *int64, err *error) time.Time {
|
||||
|
Reference in New Issue
Block a user