Browse Source
We don't preserve detailed asset information at the moment, so provide a way to convert from a sat to an amount_asset struct. We also need a way to convert from an 'amount_asset' to a 'value' for elements, which for explicit (i.e. non-blinded) asssets is a 0x01 prefix plus the big-endian encoded value.paymod-04
niftynei
5 years ago
committed by
Rusty Russell
19 changed files with 135 additions and 0 deletions
Loading…
Reference in new issue