mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 21:55:18 -04:00
I2P string format
This commit is contained in:
@ -24,7 +24,7 @@ func (lease_set LeaseSet) SigningKey() (k []byte) {
|
||||
|
||||
func (lease_set LeaseSet) LeaseCount() int {
|
||||
head := 387 + 256 + lease_set.signingKeySize()
|
||||
return Integer(lease_set[head+1])
|
||||
return Integer([]byte{lease_set[head+1]})
|
||||
}
|
||||
|
||||
func (lease_set LeaseSet) Leases() []Lease {
|
||||
|
Reference in New Issue
Block a user