From 2d6dfe4de1ab9a73111c6bdbca6b4fd8cc2719de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Blankfors?= Date: Thu, 19 Jan 2023 15:00:59 +0100 Subject: [PATCH] fix: Typo --- src/chainstate/burn/operations/peg_in.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chainstate/burn/operations/peg_in.rs b/src/chainstate/burn/operations/peg_in.rs index f7bb092c8..516237745 100644 --- a/src/chainstate/burn/operations/peg_in.rs +++ b/src/chainstate/burn/operations/peg_in.rs @@ -20,8 +20,8 @@ impl PegInOp { } let (amount, peg_wallet_address) = - if let Some(Some(recepient)) = tx.get_recipients().first() { - (recepient.amount, recepient.address.clone()) + if let Some(Some(recipient)) = tx.get_recipients().first() { + (recipient.amount, recipient.address.clone()) } else { warn!("Invalid tx: Output 2 not provided"); return Err(OpError::InvalidInput);