Skip to content

Commit b360b03

Browse files
Apply clippy auto-fixes
1 parent e3f4897 commit b360b03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wallet.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ pub async fn generate_did_proof_from_chain(
14521452
.ok_or(WalletError::UnknownCoin)?;
14531453

14541454
let _parent_spend = peer
1455-
.request_puzzle_and_solution(parent_coin_state.coin.coin_id(), parent_spend_height as u32)
1455+
.request_puzzle_and_solution(parent_coin_state.coin.coin_id(), parent_spend_height)
14561456
.await?
14571457
.map_err(|_| WalletError::RejectPuzzleSolution)?;
14581458

@@ -1591,7 +1591,7 @@ pub async fn resolve_did_string_and_generate_proof(
15911591
.ok_or(WalletError::UnknownCoin)?;
15921592

15931593
let launcher_spend = peer
1594-
.request_puzzle_and_solution(launcher_state.coin.coin_id(), launcher_spend_height as u32)
1594+
.request_puzzle_and_solution(launcher_state.coin.coin_id(), launcher_spend_height)
15951595
.await?
15961596
.map_err(|_| WalletError::RejectPuzzleSolution)?;
15971597

@@ -1660,7 +1660,7 @@ pub async fn resolve_did_string_and_generate_proof(
16601660
// If spent, find the child DID coin
16611661
let spend_height = coin_state.spent_height.unwrap();
16621662
let spend = peer
1663-
.request_puzzle_and_solution(current_did_coin.coin_id(), spend_height as u32)
1663+
.request_puzzle_and_solution(current_did_coin.coin_id(), spend_height)
16641664
.await?
16651665
.map_err(|_| WalletError::RejectPuzzleSolution)?;
16661666

0 commit comments

Comments
 (0)