some lease set work

This commit is contained in:
Hayden Parker
2016-02-14 01:24:31 -08:00
parent f409aa79e8
commit a64fe87dbe
4 changed files with 58 additions and 50 deletions

View File

@ -90,10 +90,10 @@ func (router_info RouterInfo) Options() Mapping {
//
// Return the 40 bytes that follow the Mapping in the RouterInfo.
//
func (router_info RouterInfo) Signature() []byte {
func (router_info RouterInfo) Signature() Signature {
head := router_info.optionsLocation()
size := head + router_info.optionsSize()
return router_info[head+size : head+size+40]
return Signature(router_info[head+size : head+size+40])
}
//