Skip to content

zpay32: update spec test vectors, write features last#3849

Merged
joostjager merged 1 commit into
lightningnetwork:masterfrom
cfromknecht:align-invoice-with-spec
Dec 20, 2019
Merged

zpay32: update spec test vectors, write features last#3849
joostjager merged 1 commit into
lightningnetwork:masterfrom
cfromknecht:align-invoice-with-spec

Conversation

@cfromknecht
Copy link
Copy Markdown
Contributor

This commit updates the BOLT11 test vectors to use the updated versions
from the spec (with TLV bit set). This also pointed out that the
ordering was inconsistent with the spec, in that the payment secret
should be serialized before the feature vector.

This uses the updated test vectors stemming from this comment

@cfromknecht cfromknecht added this to the 0.9.0 milestone Dec 18, 2019
@cfromknecht cfromknecht requested review from joostjager and removed request for Roasbeef December 19, 2019 09:53
Comment thread zpay32/invoice_test.go Outdated
Comment thread zpay32/invoice.go Outdated
This commit updates the BOLT11 test vectors to use the updated versions
from the spec (with TLV bit set). This also pointed out that the
ordering was inconsistent with the spec, in that the payment secret
should be serialized before the feature vector.
@cfromknecht cfromknecht force-pushed the align-invoice-with-spec branch from 70d61b7 to e745798 Compare December 19, 2019 22:38
@joostjager joostjager merged commit 1c321d7 into lightningnetwork:master Dec 20, 2019
@cfromknecht cfromknecht deleted the align-invoice-with-spec branch December 20, 2019 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants