We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 956a741 commit e681a7aCopy full SHA for e681a7a
contrib/remote_hsmd/proxy.cc
@@ -136,7 +136,10 @@ void marshal_node_id(struct node_id const *np, NodeId *o_np)
136
137
void marshal_pubkey(struct pubkey const *pp, PubKey *o_pp)
138
{
139
- o_pp->set_data(pp->pubkey.data, sizeof(pp->pubkey.data));
+ u8 pubkey_der[PUBKEY_CMPR_LEN];
140
+ pubkey_to_der(pubkey_der, pp);
141
+
142
+ o_pp->set_data(pubkey_der, sizeof(pubkey_der));
143
}
144
145
void marshal_utxo(struct utxo const *up, InputDescriptor *idesc)
0 commit comments