mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
cln-rpc: The JSON number
type is a float not an int
Got some issues parsing dates for example.
This commit is contained in:
parent
ecda4f717f
commit
d5f7548c8f
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ typemap = {
|
|||
'msat': 'Amount',
|
||||
'msat_or_all': 'AmountOrAll',
|
||||
'msat_or_any': 'AmountOrAny',
|
||||
'number': 'sint64',
|
||||
'number': 'double',
|
||||
'pubkey': 'bytes',
|
||||
'short_channel_id': 'string',
|
||||
'signature': 'bytes',
|
||||
|
|
|
@ -35,7 +35,7 @@ typemap = {
|
|||
'msat': 'Amount',
|
||||
'msat_or_all': 'AmountOrAll',
|
||||
'msat_or_any': 'AmountOrAny',
|
||||
'number': 'i64',
|
||||
'number': 'f64',
|
||||
'pubkey': 'Pubkey',
|
||||
'short_channel_id': 'ShortChannelId',
|
||||
'signature': 'String',
|
||||
|
|
Loading…
Add table
Reference in a new issue