Adds missing actual implementations on iOS
This commit is contained in:
+2
-2
@@ -170,7 +170,7 @@ class GiftWrapReceivingBenchmark {
|
||||
wrap.pubKey.hexToByteArray(),
|
||||
)
|
||||
|
||||
benchmarkRule.measureRepeated { assertNotNull(innerJson?.let { Event.fromJson(it) }) }
|
||||
benchmarkRule.measureRepeated { assertNotNull(innerJson.let { Event.fromJson(it) }) }
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -205,6 +205,6 @@ class GiftWrapReceivingBenchmark {
|
||||
seal.pubKey.hexToByteArray(),
|
||||
)
|
||||
|
||||
benchmarkRule.measureRepeated { assertNotNull(innerJson?.let { Rumor.fromJson(it) }) }
|
||||
benchmarkRule.measureRepeated { assertNotNull(innerJson.let { Rumor.fromJson(it) }) }
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -138,7 +138,7 @@ class GiftWrapSigningBenchmark {
|
||||
benchmarkRule.measureRepeated {
|
||||
runBlocking {
|
||||
GiftWrapEvent.create(
|
||||
event = seal!!,
|
||||
event = seal,
|
||||
recipientPubKey = receiver.pubKey,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user