diff --git a/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapReceivingBenchmark.kt b/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapReceivingBenchmark.kt index ad3d331f9..a84cbd84d 100644 --- a/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapReceivingBenchmark.kt +++ b/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapReceivingBenchmark.kt @@ -36,14 +36,14 @@ class GiftWrapReceivingBenchmark { return ChatMessageEvent.create( msg = "Hi there! This is a test message", to = to, - privateKey = sender.privKey!!, subject = "Party Tonight", replyTos = emptyList(), mentions = emptyList(), zapReceiver = null, markAsSensitive = true, zapRaiserAmount = 10000, - geohash = null + geohash = null, + keyPair = sender ) } diff --git a/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapSigningBenchmark.kt b/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapSigningBenchmark.kt index da834c887..b14770e7e 100644 --- a/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapSigningBenchmark.kt +++ b/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/GiftWrapSigningBenchmark.kt @@ -35,14 +35,14 @@ class GiftWrapSigningBenchmark { return ChatMessageEvent.create( msg = "Hi there! This is a test message", to = to, - privateKey = sender.privKey!!, subject = "Party Tonight", replyTos = emptyList(), mentions = emptyList(), zapReceiver = null, markAsSensitive = true, zapRaiserAmount = 10000, - geohash = null + geohash = null, + keyPair = sender ) }