@@ -1451,12 +1451,14 @@ impl State {
1451
1451
1452
1452
/// Check that
1453
1453
/// * If the tx is a BitAsset reservation, then the number of bitasset
1454
- /// reservations in the outputs is exactly one more than the number of
1455
- /// bitasset reservations in the inputs. If the tx is a BitAsset
1456
- /// registration, then the number of bitasset reservations in the outputs
1457
- /// is exactly one less than the number of bitasset reservations in the
1458
- /// inputs. Otherwise, the number of bitasset reservations in the outputs
1459
- /// is exactly equal to the number of bitasset reservations in the inputs.
1454
+ /// reservations in the outputs is exactly one more than the number of
1455
+ /// bitasset reservations in the inputs.
1456
+ /// * If the tx is a BitAsset
1457
+ /// registration, then the number of bitasset reservations in the outputs
1458
+ /// is exactly one less than the number of bitasset reservations in the
1459
+ /// inputs.
1460
+ /// * Otherwise, the number of bitasset reservations in the outputs
1461
+ /// is exactly equal to the number of bitasset reservations in the inputs.
1460
1462
pub fn validate_reservations (
1461
1463
& self ,
1462
1464
tx : & FilledTransaction ,
@@ -1494,12 +1496,12 @@ impl State {
1494
1496
* prior to the registration tx.
1495
1497
* * The last output must be a BitAsset control coin
1496
1498
* * If the initial supply is nonzero,
1497
- * the second-to-last output must be a BitAsset outputj
1498
- * Otherwise,
1499
- * * The number of BitAsset control coin outputs is exactly the number
1500
- * of BitAsset control coin inputs
1501
- * * The number of BitAsset outputs is at least
1502
- * the number of unique BitAssets in the inputs.
1499
+ * the second-to-last output must be a BitAsset output
1500
+ * * Otherwise,
1501
+ * * The number of BitAsset control coin outputs is exactly the number
1502
+ * of BitAsset control coin inputs
1503
+ * * The number of BitAsset outputs is at least
1504
+ * the number of unique BitAssets in the inputs.
1503
1505
* * If the tx is a BitAsset update, then there must be at least one
1504
1506
* BitAsset control coin input and output.
1505
1507
* * If the tx is an AMM Burn, then
0 commit comments