mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 11:27:21 +01:00
Avoids testing the signature when the id or sig fields are blank
This commit is contained in:
@@ -74,7 +74,7 @@ class EventBenchmark {
|
||||
val event = Event.fromJson(msg[2])
|
||||
benchmarkRule.measureRepeated {
|
||||
// Should pass
|
||||
assertTrue( event.hasVerifedSignature() )
|
||||
assertTrue( event.hasVerifiedSignature() )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ class GiftWrapReceivingBenchmark {
|
||||
)
|
||||
|
||||
benchmarkRule.measureRepeated {
|
||||
wrap.hasVerifedSignature()
|
||||
wrap.hasVerifiedSignature()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user