diff options
author | Maxime Devos <maximedevos@telenet.be> | 2022-12-20 14:39:15 +0100 |
---|---|---|
committer | Maxime Devos <maximedevos@telenet.be> | 2022-12-20 14:39:15 +0100 |
commit | 6b5ff8dac9913057c89bd94130be75456ca971a8 (patch) | |
tree | 7833745b4e6cffe87201df10f4a5f1922de279b1 /gnu/gnunet/fs/network.scm | |
parent | 40a17ea4232c433d519a0fb495a263d5b0e255aa (diff) | |
download | gnunet-scheme-6b5ff8dac9913057c89bd94130be75456ca971a8.tar.gz gnunet-scheme-6b5ff8dac9913057c89bd94130be75456ca971a8.zip |
fs/network: Fix argument order of 'construct-request-loc-signature'.
Now it is compatible with 'analyse-request-loc-signature', making the
test "analyse + construct round-trips (request-loc-signature)" pass.
* gnu/gnunet/fs/network.scm: Switch 'file-length' and
'content-hash-key'.
* tests/file-sharing.scm
("analyse + construct round-trips (request-loc-signature)"): Unskip.
Diffstat (limited to 'gnu/gnunet/fs/network.scm')
-rw-r--r-- | gnu/gnunet/fs/network.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/gnunet/fs/network.scm b/gnu/gnunet/fs/network.scm index 97a66ab..3519aae 100644 --- a/gnu/gnunet/fs/network.scm +++ b/gnu/gnunet/fs/network.scm | |||
@@ -42,7 +42,8 @@ | |||
42 | ;; (see gnunet-signatures/gnunet_signatures.rst) | 42 | ;; (see gnunet-signatures/gnunet_signatures.rst) |
43 | (define %purpose-peer-placement 5) | 43 | (define %purpose-peer-placement 5) |
44 | 44 | ||
45 | (define* (construct-request-loc-signature content-hash-key file-length | 45 | (define* (construct-request-loc-signature file-length |
46 | content-hash-key | ||
46 | expiration-time | 47 | expiration-time |
47 | #:key | 48 | #:key |
48 | (purpose %purpose-peer-placement)) | 49 | (purpose %purpose-peer-placement)) |