implement schnorrVerify, documentation, comments, etc

This commit is contained in:
sneurlax 2023-09-21 23:12:08 -05:00
parent cb219d9459
commit a2e3a2aafa
2 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 86faed63a7bb553087ceb1b44b38ff0b6d68932d Subproject commit 3aa2c5a2ab4cd22de8e80a2029276689ab94006e

View file

@ -410,8 +410,8 @@ extension FusionUTXO on UTXO {
} }
return fusion_input.Input( return fusion_input.Input(
txid: utf8.encode(txid), // TODO verify this is what we want. prevTxid: utf8.encode(txid), // TODO verify this is what we want.
index: vout, // TODO verify this is what we want. prevIndex: vout, // TODO verify this is what we want.
pubKey: pubKey, // TODO fix public key. pubKey: pubKey, // TODO fix public key.
amount: value, amount: value,
); );
@ -468,8 +468,8 @@ extension FusionTransaction on Transaction {
); );
return fusion_input.Input( return fusion_input.Input(
txid: utf8.encode(e.txid), // TODO verify this is what we want. prevTxid: utf8.encode(e.txid), // TODO verify this is what we want.
index: e.vout, // TODO verify this is what we want. prevIndex: e.vout, // TODO verify this is what we want.
pubKey: utf8.encode('0000'), // TODO fix public key. pubKey: utf8.encode('0000'), // TODO fix public key.
amount: value.raw.toInt(), amount: value.raw.toInt(),
); );