Skip to content

Commit 9c19d88

Browse files
authored
Upgraded SignFundingTxRequest KeyIndex to KeyPath. (#19)
1 parent 131a866 commit 9c19d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/remote_hsmd/proxy.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void marshal_pubkey(struct pubkey const *pp, PubKey *o_pp)
144144

145145
void marshal_utxo(struct utxo const *up, InputDescriptor *idesc)
146146
{
147-
idesc->mutable_key_loc()->set_key_index(up->keyindex);
147+
idesc->mutable_key_loc()->add_key_path(up->keyindex);
148148
idesc->mutable_prev_output()->set_value_sat(up->amount.satoshis);
149149
idesc->set_spend_type(up->is_p2sh
150150
? SpendType::P2SH_P2WPKH

0 commit comments

Comments
 (0)