|
@@ -31,8 +31,8 @@ use darkfi_sdk::{
|
|
|
crypto::{
|
|
crypto::{
|
|
|
note::AeadEncryptedNote,
|
|
note::AeadEncryptedNote,
|
|
|
pasta_prelude::{Curve, CurveAffine, Field},
|
|
pasta_prelude::{Curve, CurveAffine, Field},
|
|
|
- pedersen_commitment_u64, poseidon_hash, FuncId, Keypair, MerkleNode, MerkleTree, Nullifier,
|
|
|
|
|
- PublicKey, SecretKey,
|
|
|
|
|
|
|
+ pedersen_commitment_u64, poseidon_hash, FuncId, Keypair, MerkleNode, MerkleTree, PublicKey,
|
|
|
|
|
+ SecretKey,
|
|
|
},
|
|
},
|
|
|
pasta::pallas,
|
|
pasta::pallas,
|
|
|
};
|
|
};
|
|
@@ -41,7 +41,10 @@ use rand::rngs::OsRng;
|
|
|
|
|
|
|
|
use crate::{
|
|
use crate::{
|
|
|
client::{compute_remainder_blind, Coin, MoneyNote, OwnCoin},
|
|
client::{compute_remainder_blind, Coin, MoneyNote, OwnCoin},
|
|
|
- model::{CoinAttributes, Input, MoneyFeeParamsV1, NullifierAttributes, Output, DARK_TOKEN_ID},
|
|
|
|
|
|
|
+ model::{
|
|
|
|
|
+ CoinAttributes, Input, MoneyFeeParamsV1, Nullifier, NullifierAttributes, Output,
|
|
|
|
|
+ DARK_TOKEN_ID,
|
|
|
|
|
+ },
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/// Append a fee-paying call to the given `TransactionBuilder`.
|
|
/// Append a fee-paying call to the given `TransactionBuilder`.
|