We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5593457 commit e91bc61Copy full SHA for e91bc61
circuits/app/proof_of_reserve/coins/src/main.nr
@@ -18,15 +18,15 @@ struct CoinsDatabaseElement {
18
amount: u64,
19
}
20
21
-struct OwnUtxo {
+struct Spending {
22
witness: [u8; 72],
23
pub_key: [u8; 65],
24
25
26
fn main(
27
const_message_hash: pub [u8; SHA256_HASH_SIZE],
28
coins_database: [CoinsDatabaseElement; MAX_COINS_DATABASE_AMOUNT],
29
- own_utxos: [OwnUtxo; MAX_COINS_DATABASE_AMOUNT],
+ own_utxos: [Spending; MAX_COINS_DATABASE_AMOUNT],
30
) -> pub ([u8; SHA256_HASH_SIZE], u64) {
31
let mut owned_amount = 0;
32
let mut coins_hashes = [[0; SHA256_HASH_SIZE]; MAX_COINS_DATABASE_AMOUNT];
0 commit comments