Skip to content

Commit a813f8b

Browse files
authored
Merge pull request #40 from lightning-signer/2021-10-sign-onchain-tx
Renamed SignFundingTx to SignOnchainTx
2 parents 4bd9d38 + b763197 commit a813f8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/remote_hsmd/proxy.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ proxy_stat proxy_handle_sign_withdrawal_tx(
707707
tal_wally_end(tal_steal(psbt, tx));
708708

709709

710-
SignFundingTxRequest req;
710+
SignOnchainTxRequest req;
711711
marshal_node_id(&self_id, req.mutable_node_id());
712712

713713
// Serialize the tx we modified above which includes witscripts.
@@ -742,8 +742,8 @@ proxy_stat proxy_handle_sign_withdrawal_tx(
742742
}
743743

744744
ClientContext context;
745-
SignFundingTxReply rsp;
746-
Status status = stub->SignFundingTx(&context, req, &rsp);
745+
SignOnchainTxReply rsp;
746+
Status status = stub->SignOnchainTx(&context, req, &rsp);
747747
if (status.ok()) {
748748
unmarshal_witnesses(rsp.witnesses(), o_wits);
749749
STATUS_DEBUG("%s:%d %s { \"self_id\":%s, \"witnesses\":%s }",

0 commit comments

Comments
 (0)