Skip to content

Commit 4f09df5

Browse files
committed
nostr: fix clippy warning
1 parent 734c013 commit 4f09df5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/nostr/src/event/builder.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ impl EventBuilder {
193193
where
194194
T: TimeSupplier,
195195
{
196-
self.to_pow_event_internal(keys, difficulty, time_supplier, secp)
196+
self.into_pow_event_internal(keys, difficulty, time_supplier, secp)
197197
}
198198

199-
fn to_pow_event_internal<T, C: Signing>(
199+
fn into_pow_event_internal<T, C: Signing>(
200200
self,
201201
keys: &Keys,
202202
difficulty: u8,
@@ -267,10 +267,10 @@ impl EventBuilder {
267267
where
268268
T: TimeSupplier,
269269
{
270-
self.to_pow_unsigned_event_internal(pubkey, difficulty, time_supplier, secp)
270+
self.into_pow_unsigned_event_internal(pubkey, difficulty, time_supplier, secp)
271271
}
272272

273-
fn to_pow_unsigned_event_internal<T, C: Signing>(
273+
fn into_pow_unsigned_event_internal<T, C: Signing>(
274274
self,
275275
pubkey: XOnlyPublicKey,
276276
difficulty: u8,

0 commit comments

Comments
 (0)