Skip to content

Commit 9a9cb88

Browse files
neocyberethsug0
andauthored
clone validator_address
Co-authored-by: Tiago Carvalho <sugoiuguu@tfwno.gf>
1 parent 0548085 commit 9a9cb88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webserver/src/service/pos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ impl PosService {
313313
// 1) Lookup validator by its address
314314
let db_validator = self
315315
.pos_repo
316-
.find_validator_by_address(validator_address)
316+
.find_validator_by_address(&validator_address)
317317
.await
318318
.map_err(PoSError::Database)?;
319319

0 commit comments

Comments
 (0)