some router info tests

This commit is contained in:
Hayden Parker
2016-06-19 14:26:03 -07:00
parent 3cd217eecc
commit 20017a61d9
3 changed files with 33 additions and 6 deletions

View File

@ -105,7 +105,7 @@ func (router_info RouterInfo) Published() (date Date, err error) {
err = errors.New("error parsing date: not enough data")
return
}
copy(remainder[:8], date[:])
copy(date[:], remainder[:8])
return
}