File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
crates/core/component/funding/src/component Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pub trait StateReadExt: StateRead {
1616 . ok_or_else ( || anyhow:: anyhow!( "Missing FundingParameters" ) )
1717 }
1818
19- /// Gets the funding module chain parameters from the JMT.
19+ /// Gets the transaction id associated with the given nullifier from the JMT.
2020 async fn get_txid_from_nullifier ( & self , nullifier : Nullifier ) -> Option < TransactionId > {
2121 // Grab the ambient epoch index.
2222 let epoch_index = self
@@ -45,6 +45,7 @@ pub trait StateWriteExt: StateWrite + StateReadExt {
4545 self . put ( state_key:: staking_funding_parameters ( ) . into ( ) , params)
4646 }
4747
48+ // Sets the LQT nullifier in the JMT.
4849 fn put_lqt_nullifier ( & mut self , epoch_index : u64 , nullifier : Nullifier , tx_id : TransactionId ) {
4950 let nullifier_key = state_key:: lqt_nullifier_lookup_for_txid ( epoch_index, & nullifier) ;
5051
You can’t perform that action at this time.
0 commit comments