Closed tnull closed 6 months ago
The spec mandates that monetary amounts are represented as JSON strings on the wire, but that implementations SHOULD represent them as u64 internally. See https://github.com/BitcoinAndLightningLayerSpecs/lsp/blob/main/LSPS0/common-schemas.md#monetary-amounts
u64
We need to double-check that we adhere to these rules everywhere.
Assigning myself here, will pick this up soon.
The spec mandates that monetary amounts are represented as JSON strings on the wire, but that implementations SHOULD represent them as
u64
internally. See https://github.com/BitcoinAndLightningLayerSpecs/lsp/blob/main/LSPS0/common-schemas.md#monetary-amountsWe need to double-check that we adhere to these rules everywhere.