mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-24 16:19:50 +08:00
fix: Typo
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user