fix: Typo

This commit is contained in:
Mårten Blankfors
2023-01-19 15:00:59 +01:00
parent 16268d7115
commit 2d6dfe4de1

View File

@@ -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);