Browse Source

pyln: add (undocumented) u8 fundamental type.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
nifty/pset-pre
Rusty Russell 5 years ago
committed by Christian Decker
parent
commit
9992a577b4
  1. 2
      contrib/pyln-proto/pyln/proto/message/fundamental_types.py
  2. 2
      contrib/pyln-proto/tests/test_fundamental_types.py

2
contrib/pyln-proto/pyln/proto/message/fundamental_types.py

@ -235,6 +235,8 @@ def fundamental_types():
BigSizeType('bigsize'),
# FIXME: See https://github.com/lightningnetwork/lightning-rfc/pull/778
BigSizeType('varint'),
# FIXME
IntegerType('u8', 1, 'B'),
]

2
contrib/pyln-proto/tests/test_fundamental_types.py

@ -74,4 +74,4 @@ def test_fundamental_types():
t.write(buf, v, None)
assert buf.getvalue() == test[1]
assert untested == set(['varint'])
assert untested == set(['varint', 'u8'])

Loading…
Cancel
Save