commit e217fd4031e12af2ea2b113e588821ea9ffaa7c2
parent 0e2a6619441de78c9dedfbb2322aa69b76f86486
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 2 Feb 2026 13:04:45 +0100
nonce MUST be a public key
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -564,7 +564,7 @@ claim orders (say in a case where stocks are limited).
interface ClaimRequest {
// Nonce to identify the wallet that claimed the order.
- nonce: string;
+ nonce: EddsaPublicKey;
// Token that authorizes the wallet to claim the order.
// *Optional* as the merchant may not have required it
@@ -7299,9 +7299,7 @@ The contract terms must have the following structure:
// Nonce generated by the wallet and echoed by the merchant
// in this field when the order is claimed and converted
// into a contract that is bound to a wallet.
- //
- // FIXME-Dold: is this still just a plain string and not a public key?
- nonce: string;
+ nonce: EddsaPublicKey;
}
.. ts:def:: ProtoContractTerms