@@ -139,14 +139,14 @@ fn send_wt_sigs_msg(
139139// `sigs` MUST contain valid signatures (including the attached sighash type)
140140pub fn send_coord_sig_msg (
141141 transport : & mut KKTransport ,
142- id : Txid ,
142+ txid : Txid ,
143143 sigs : BTreeMap < secp256k1:: PublicKey , secp256k1:: Signature > ,
144144) -> Result < ( ) , CommunicationError > {
145145 for ( pubkey, signature) in sigs {
146146 let sig_msg = coordinator:: Sig {
147147 pubkey,
148148 signature,
149- id ,
149+ txid ,
150150 } ;
151151 log:: debug!( "Sending sig '{:?}' to sync server" , sig_msg, ) ;
152152 let sig_result: coordinator:: SigResult = transport. send_req ( & sig_msg. into ( ) ) ?;
@@ -302,7 +302,7 @@ pub fn get_presigs(
302302 transport : & mut KKTransport ,
303303 txid : Txid ,
304304) -> Result < BTreeMap < secp256k1:: PublicKey , secp256k1:: Signature > , CommunicationError > {
305- let getsigs_msg = GetSigs { id : txid } ;
305+ let getsigs_msg = GetSigs { txid } ;
306306
307307 log:: debug!( "Sending to sync server: '{:?}'" , getsigs_msg, ) ;
308308 let resp: Sigs = transport. send_req ( & getsigs_msg. into ( ) ) ?;
@@ -477,7 +477,7 @@ mod tests {
477477 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
478478 pubkey: public_key. key,
479479 signature,
480- id : txid
480+ txid : txid
481481 } ) ,
482482 ) ;
483483 Some ( message:: ResponseResult :: Sig (
@@ -524,7 +524,7 @@ mod tests {
524524 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
525525 pubkey: public_key. key,
526526 signature,
527- id : txid
527+ txid : txid
528528 } ) ,
529529 ) ;
530530 Some ( message:: ResponseResult :: Sig (
@@ -581,7 +581,7 @@ mod tests {
581581 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
582582 pubkey: public_key. key,
583583 signature,
584- id : other_cancel. txid( ) ,
584+ txid : other_cancel. txid( ) ,
585585 } ) ,
586586 ) ;
587587 Some ( message:: ResponseResult :: Sig (
@@ -669,7 +669,7 @@ mod tests {
669669 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
670670 pubkey: public_key. key,
671671 signature: signature_cancel,
672- id : other_cancel. txid( ) ,
672+ txid : other_cancel. txid( ) ,
673673 } ) ,
674674 ) ;
675675 Some ( message:: ResponseResult :: Sig (
@@ -685,7 +685,7 @@ mod tests {
685685 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
686686 pubkey: public_key. key,
687687 signature: signature_emer,
688- id : other_emer. txid( ) ,
688+ txid : other_emer. txid( ) ,
689689 } ) ,
690690 ) ;
691691 Some ( message:: ResponseResult :: Sig (
@@ -701,7 +701,7 @@ mod tests {
701701 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
702702 pubkey: public_key. key,
703703 signature: signature_unemer,
704- id : other_unvault_emer. txid( ) ,
704+ txid : other_unvault_emer. txid( ) ,
705705 } ) ,
706706 ) ;
707707 Some ( message:: ResponseResult :: Sig (
@@ -754,7 +754,7 @@ mod tests {
754754 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
755755 pubkey: public_key. key,
756756 signature,
757- id : other_unvault. txid( ) ,
757+ txid : other_unvault. txid( ) ,
758758 } ) ,
759759 ) ;
760760 Some ( message:: ResponseResult :: Sig (
@@ -812,7 +812,7 @@ mod tests {
812812 & message:: RequestParams :: CoordSig ( coordinator:: Sig {
813813 pubkey: public_key. key,
814814 signature,
815- id : other_unvault. txid( ) ,
815+ txid : other_unvault. txid( ) ,
816816 } ) ,
817817 ) ;
818818 Some ( message:: ResponseResult :: Sig (
@@ -1184,7 +1184,7 @@ mod tests {
11841184 . read_req ( |params| {
11851185 assert_eq ! (
11861186 & params,
1187- & message:: RequestParams :: GetSigs ( GetSigs { id : same_txid } )
1187+ & message:: RequestParams :: GetSigs ( GetSigs { txid : same_txid } )
11881188 ) ;
11891189 Some ( message:: ResponseResult :: Sigs ( message:: coordinator:: Sigs {
11901190 signatures : other_sigs,
0 commit comments