kee

Offline IOU signer with QR as transport
git clone https://holbrook.no/src/kee
Info | Log | Files | Refs | README | LICENSE

commit 4dc281c0b40cb3ffd4fe5950a88c04f98fc12eb5
parent 7c3e4a4808d5e7bde91b86dfe033cbe0af16e138
Author: lash <dev@holbrook.no>
Date:   Thu, 16 May 2024 14:57:41 +0100

Update test parse ledger data case

Diffstat:
Msrc/tests/ledger.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tests/ledger.c b/src/tests/ledger.c @@ -6,11 +6,11 @@ #include "testutil.h" -const char *test_ledger_data = "30818e0c035553440201020420c67ee54f93d63d00f4b8c9a7e1c11b39657b55c525704bb32e15ec85bc140d140420adcaf6474132ac36e97d3dbee693d3b186cd8399d402dc505073069c46b5bd780440878102c19c032fd0d06f6b054a01e969b823ccfe7d5ba37a37beef3e64feb5f9b38e1a0f7413b781a4626b884f89bb3052f662692c53578453dc7c7d911d8609"; +const char *test_ledger_data = "30818e0c035553440201020420788da0e19fe7d885c7b3d37029be22b17a3afb8aa4428db98d80f67a5ca693b7042005c4f411a03048177910396212409487045249ac5bd9271aeb38624e11fc474304408e019a8c44e9483c772e2393a83dbefea6d8f0eb279bf9c69e5932d71f9592479d65799134f676f2d13bf1bb5f5ac1ba2f21c7d6ecd9d639239eac0d1ffdc8af"; -const char *test_item_data_a = "3082011d044000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020817c94f8dec0e485d0202150e0202107a04404919455218d5bfb6ae9f0de9af37c23c140f976d4a0cb8652fc6897e6f043bc454021128b8daa18eb36c28687cfc33c3e1aa9b4e37059822ae14a0cefd1087a704409bd071c737b9342ab87de3f3e43ccba508366d09b28a6e331f1255d5668b211694fe011c78b6bba376590a5dae47e2ff880facad68e9ab4fca15309c00a6bd0a0101ff04402a3eac6ff818857883fb26d052fb17f2384f9fdb60f5bbae7d849bf621dfc65e68c2b82359b6c54b041732f11919ab0c1ae1a68504870c872f30cc74f9b9ae0400"; +const char *test_item_data_a = "3082011d044000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040866460b143741fbee0202117102020642044009491030794d7d1992ceb4038a77aa628b68ab18db2b50f0bd60c3ef1754c3fba697e18a98caf67ecf19d3993760fe34d31013412bce3087bcc54d739f181a4b044020cc81a5a5be0fde65057dbb5769d5ce2dc2f8f02279388dcea63c5bc9977de853b951a9212f88b560fdba595dd9a7b0d9e4c95d2efb019a59bb663cedc02e010101ff0440bd3f6878a93e8a3b9068ed039d68bb6ab31da99f9daa34cb37a9f111e5f58b3d39a40d06af5653f23d14b87ffbd7b38d06d77a1cd11d0bf1cb0fd1a1c6980c0a00"; -const char *test_item_data_b = "3082011d0440c2b795d9d3183bcc9d6ae1ae2960c302d7364a04996013dd9f31be628c46d2ee87b0cba51db67cd851a64dba04cc3e191dd48e7d7f3e063b0c850fd7b9b82218020817c94f8dec3e67aa02020ce20202049504401f78629f3015afa72f443005fc6711f7a7e2e20072eac86c98874c1dbe42095de3408d5711fb8fca56428461139992e8ff0452dc2092d2ba6ddb9658607f90ac0440d5d6cd6d905d0eb104ff3ab825cfc1be27f69a5377a3c84c33b3c5a0e6902e2af74d9024db58e1b90375be316e687a928edb881f8b6b3795682c20e533f9ed040101ff04409e8ffbbd5684b75aed7bf42a044914ea5813b1fccd9645462664317fa92dd9766c9ede39ea381e9648ef88bad220d0808660be63c94bf9954cf00daddad1150e01"; +const char *test_item_data_b = "3082011d0440051a9dc4e24e19e1a102121f5a514f702ac8c0fa81b7da129fad9154cd83ba12a4672009850b7806c003bc4d106ccb546a3e274509653e0aa72ab05d800b37a1040866460b1437744e63020209af0202058a04407f210ca459c0c309c94dd3017d437d249754eb98753c8a6fbcbbfe94e2d9f8c0d038ce5d5b58696c0cd896f4ffcf1a18e58d6f1d5228f2f27a1b8a5161caab220440bdd91dfeb4887d54bdded6832446b1b1dac0f6d93c793b0309bd2025649d0930873ffd7ad5a956e4247a9145052e5bcec574d925b19964c126478c33d0badb020101ff0440881cc8759416b46ea5aa1328217d7dc9f661c7e8f40cd5ce52c8e587eeccf5d3b93ae1481292b17e6ac5b14d34ec3a5e0b3c58352246de52f558169346531c0a01"; int test_util() {