mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 12:14:21 +01:00
@@ -43,7 +43,13 @@ func ValidateConnectors(poolTx string, connectors []string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
prevConnectorTxid = utx.TxHash().String()
|
prevConnectorTxid = utx.TxHash().String()
|
||||||
prevConnectorVout = 0
|
|
||||||
|
// if the last connector is reached, reset to 1
|
||||||
|
if i == len(connectors)-1 {
|
||||||
|
prevConnectorVout = 1
|
||||||
|
} else {
|
||||||
|
prevConnectorVout = 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user