@@ -860,8 +860,14 @@ impl DartTestingDb {
860860 ( proof, asset_state)
861861 } else {
862862 // Create registration proof and initial state.
863- let ( proof, asset_state) =
864- AccountAssetRegistrationProof :: new ( rng, & account_keys, asset_id, 0 , & did, params) ?;
863+ let ( proof, asset_state) = AccountAssetRegistrationProof :: < ( ) > :: new (
864+ rng,
865+ & account_keys,
866+ asset_id,
867+ 0 ,
868+ & did,
869+ params,
870+ ) ?;
865871
866872 // Update the account state with the pending state change.
867873 self . update_account_asset_state ( & account_info, & asset_state) ?;
@@ -941,7 +947,7 @@ impl DartTestingDb {
941947 } else {
942948 let account_keys = account_info. account_keys ( ) ?;
943949 // Create minting proof
944- let proof = AssetMintingProof :: new (
950+ let proof = AssetMintingProof :: < ( ) > :: new (
945951 rng,
946952 & account_keys,
947953 & did,
@@ -1199,7 +1205,7 @@ impl DartTestingDb {
11991205 }
12001206
12011207 // Generate sender affirmation proof
1202- Ok ( SenderAffirmationProof :: new (
1208+ Ok ( SenderAffirmationProof :: < ( ) > :: new (
12031209 rng,
12041210 & account_keys,
12051211 & leg_ref,
@@ -1261,7 +1267,7 @@ impl DartTestingDb {
12611267 proof_action,
12621268 |account_keys, leg_ref, leg_enc, _leg, account_state, account_tree, rng| {
12631269 // Create sender counter update proof
1264- Ok ( SenderCounterUpdateProof :: new (
1270+ Ok ( SenderCounterUpdateProof :: < ( ) > :: new (
12651271 rng,
12661272 & account_keys,
12671273 & leg_ref,
@@ -1322,7 +1328,7 @@ impl DartTestingDb {
13221328 |account_keys, leg_ref, leg_enc, leg, account_state, account_tree, rng| {
13231329 let amount = leg. amount ( ) ;
13241330 // Create sender reversal proof
1325- Ok ( SenderReversalProof :: new (
1331+ Ok ( SenderReversalProof :: < ( ) > :: new (
13261332 rng,
13271333 & account_keys,
13281334 & leg_ref,
@@ -1392,7 +1398,7 @@ impl DartTestingDb {
13921398 }
13931399
13941400 // Create receiver affirmation proof
1395- Ok ( ReceiverAffirmationProof :: new (
1401+ Ok ( ReceiverAffirmationProof :: < ( ) > :: new (
13961402 rng,
13971403 & account_keys,
13981404 & leg_ref,
@@ -1463,7 +1469,7 @@ impl DartTestingDb {
14631469 let _leg = encrypted_leg. decrypt ( LegRole :: mediator ( 0 ) , & account_keys) ?;
14641470
14651471 // Create mediator affirmation proof
1466- MediatorAffirmationProof :: new ( rng, & leg_ref, & med_enc, & account_keys, 0 , accept) ?
1472+ MediatorAffirmationProof :: < ( ) > :: new ( rng, & leg_ref, & med_enc, & account_keys, 0 , accept) ?
14671473 } ;
14681474
14691475 // If proof action is to generate only, save proof and return
@@ -1527,7 +1533,7 @@ impl DartTestingDb {
15271533 proof_action,
15281534 |account_keys, leg_ref, leg_enc, leg, asset_state, account_tree, rng| {
15291535 // Create receiver claim proof
1530- Ok ( ReceiverClaimProof :: new (
1536+ Ok ( ReceiverClaimProof :: < ( ) > :: new (
15311537 rng,
15321538 & account_keys,
15331539 & leg_ref,
0 commit comments