mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-05 22:17:04 -04:00
fix and test router info signature size
This commit is contained in:
@ -135,6 +135,12 @@ func TestOptionsAreCorrect(t *testing.T) {
|
||||
)
|
||||
}
|
||||
|
||||
func TestSignatureIsCorrectSize(t *testing.T) {}
|
||||
func TestSignatureIsCorrectSize(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
|
||||
router_info := buildFullRouterInfo()
|
||||
signature := router_info.Signature()
|
||||
assert.Equal(40, len(signature))
|
||||
}
|
||||
|
||||
func TestRouterIdentityIsCorrect(t *testing.T) {}
|
||||
|
Reference in New Issue
Block a user