Skip to content

Commit

Permalink
Merge pull request #40 from lightning-signer/2021-10-sign-onchain-tx
Browse files Browse the repository at this point in the history
Renamed SignFundingTx to SignOnchainTx
  • Loading branch information
ksedgwic authored Oct 19, 2021
2 parents 4bd9d38 + b763197 commit a813f8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/remote_hsmd/proxy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ proxy_stat proxy_handle_sign_withdrawal_tx(
tal_wally_end(tal_steal(psbt, tx));


SignFundingTxRequest req;
SignOnchainTxRequest req;
marshal_node_id(&self_id, req.mutable_node_id());

// Serialize the tx we modified above which includes witscripts.
Expand Down Expand Up @@ -742,8 +742,8 @@ proxy_stat proxy_handle_sign_withdrawal_tx(
}

ClientContext context;
SignFundingTxReply rsp;
Status status = stub->SignFundingTx(&context, req, &rsp);
SignOnchainTxReply rsp;
Status status = stub->SignOnchainTx(&context, req, &rsp);
if (status.ok()) {
unmarshal_witnesses(rsp.witnesses(), o_wits);
STATUS_DEBUG("%s:%d %s { \"self_id\":%s, \"witnesses\":%s }",
Expand Down

0 comments on commit a813f8b

Please sign in to comment.