mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
msggen: Switch signatures to string instead of bytes
This commit is contained in:
committed by
ShahanaFarooqui
parent
ef9e0fcf60
commit
acc3bb2276
2
cln-grpc/proto/node.proto
generated
2
cln-grpc/proto/node.proto
generated
@@ -1285,7 +1285,7 @@ message DecodepayResponse {
|
||||
bytes payee = 4;
|
||||
optional Amount amount_msat = 5;
|
||||
bytes payment_hash = 6;
|
||||
bytes signature = 7;
|
||||
string signature = 7;
|
||||
optional string description = 8;
|
||||
optional bytes description_hash = 9;
|
||||
uint32 min_final_cltv_expiry = 10;
|
||||
|
||||
2
cln-rpc/src/model.rs
generated
2
cln-rpc/src/model.rs
generated
@@ -3655,7 +3655,7 @@ pub mod responses {
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub amount_msat: Option<Amount>,
|
||||
pub payment_hash: Sha256,
|
||||
pub signature: Vec<u8>,
|
||||
pub signature: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub description: Option<String>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
||||
@@ -16,7 +16,7 @@ typemap = {
|
||||
'number': 'double',
|
||||
'pubkey': 'bytes',
|
||||
'short_channel_id': 'string',
|
||||
'signature': 'bytes',
|
||||
'signature': 'string',
|
||||
'string': 'string',
|
||||
'txid': 'bytes',
|
||||
'u8': 'uint32', # Yep, this is the smallest integer type in grpc...
|
||||
|
||||
@@ -25,7 +25,7 @@ typemap = {
|
||||
'number': 'f64',
|
||||
'pubkey': 'PublicKey',
|
||||
'short_channel_id': 'ShortChannelId',
|
||||
'signature': 'Vec<u8>',
|
||||
'signature': 'String',
|
||||
'string': 'String',
|
||||
'txid': 'String',
|
||||
'float': 'f32',
|
||||
|
||||
2
contrib/pyln-testing/pyln/testing/node_pb2.py
generated
2
contrib/pyln-testing/pyln/testing/node_pb2.py
generated
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user