File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -928,7 +928,7 @@ impl EcdsaChannelSigner for InMemorySigner {
928
928
& self , msg : & UnsignedChannelAnnouncement , secp_ctx : & Secp256k1 < secp256k1:: All >
929
929
) -> Result < Signature , ( ) > {
930
930
let msghash = hash_to_message ! ( & Sha256dHash :: hash( & msg. encode( ) [ ..] ) [ ..] ) ;
931
- Ok ( sign ( secp_ctx, & msghash, & self . funding_key ) )
931
+ Ok ( secp_ctx. sign_ecdsa ( & msghash, & self . funding_key ) )
932
932
}
933
933
}
934
934
@@ -1335,7 +1335,7 @@ impl NodeSigner for KeysManager {
1335
1335
1336
1336
fn sign_gossip_message ( & self , msg : UnsignedGossipMessage ) -> Result < Signature , ( ) > {
1337
1337
let msg_hash = hash_to_message ! ( & Sha256dHash :: hash( & msg. encode( ) [ ..] ) [ ..] ) ;
1338
- Ok ( sign ( & self . secp_ctx , & msg_hash, & self . node_secret ) )
1338
+ Ok ( self . secp_ctx . sign_ecdsa ( & msg_hash, & self . node_secret ) )
1339
1339
}
1340
1340
}
1341
1341
You can’t perform that action at this time.
0 commit comments