From 5e15a53b229142a49c183f99aaf0e0134cea03af Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Wed, 30 Sep 2020 12:10:50 -0600 Subject: [PATCH] Fix invalid ZIP-0321 sample URL. This sample URI inadvertently contained a memo at the paramindex for a transparent address. --- zip-0321.html | 4 ++-- zip-0321.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zip-0321.html b/zip-0321.html index a28221b0..a266fb44 100644 --- a/zip-0321.html +++ b/zip-0321.html @@ -92,8 +92,8 @@ License: MIT

Valid examples

zcash:ztestsapling10yy2ex5dcqkclhc7z7yrnjq2z6feyjad56ptwlfgmy77dmaqqrl9gyhprdx59qgmsnyfska2kez?amount=1&memo=VGhpcyBpcyBhIHNpbXBsZSBtZW1vLg&message=Thank%20you%20for%20your%20purchase

A valid payment request for a payment of 1 ZEC to a single shielded address, with a base64url-encoded memo and a message for display by the wallet.

-
zcash:?address=tmEZhbWHTpdKMw5it8YDspUXSMGQyFwovpU&amount=123.456&memo=eyAia2V5IjogIlRoaXMgaXMgYSBKU09OLXN0cnVjdHVyZWQgbWVtby4iIH0&address.1=ztestsapling10yy2ex5dcqkclhc7z7yrnjq2z6feyjad56ptwlfgmy77dmaqqrl9gyhprdx59qgmsnyfska2kez&amount.1=0.789&memo.1=VGhpcyBpcyBhIHVuaWNvZGUgbWVtbyDinKjwn6aE8J-PhvCfjok
-

A valid payment request with one transparent and one shielded recipient address, with encoded JSON and Unicode memos.

+
zcash:?address=tmEZhbWHTpdKMw5it8YDspUXSMGQyFwovpU&amount=123.456&address.1=ztestsapling10yy2ex5dcqkclhc7z7yrnjq2z6feyjad56ptwlfgmy77dmaqqrl9gyhprdx59qgmsnyfska2kez&amount.1=0.789&memo.1=VGhpcyBpcyBhIHVuaWNvZGUgbWVtbyDinKjwn6aE8J-PhvCfjok
+

A valid payment request with one transparent and one shielded recipient address, with an encoded Unicode memo for the shielded recipient.

Invalid Examples

zcash:?amount=3491405.05201255&address.1=ztestsapling10yy2ex5dcqkclhc7z7yrnjq2z6feyjad56ptwlfgmy77dmaqqrl9gyhprdx59qgmsnyfska2kez&amount.1=5740296.87793245
diff --git a/zip-0321.rst b/zip-0321.rst index 39505797..4dc4d207 100644 --- a/zip-0321.rst +++ b/zip-0321.rst @@ -180,10 +180,10 @@ with a base64url-encoded memo and a message for display by the wallet. :: - zcash:?address=tmEZhbWHTpdKMw5it8YDspUXSMGQyFwovpU&amount=123.456&memo=eyAia2V5IjogIlRoaXMgaXMgYSBKU09OLXN0cnVjdHVyZWQgbWVtby4iIH0&address.1=ztestsapling10yy2ex5dcqkclhc7z7yrnjq2z6feyjad56ptwlfgmy77dmaqqrl9gyhprdx59qgmsnyfska2kez&amount.1=0.789&memo.1=VGhpcyBpcyBhIHVuaWNvZGUgbWVtbyDinKjwn6aE8J-PhvCfjok + zcash:?address=tmEZhbWHTpdKMw5it8YDspUXSMGQyFwovpU&amount=123.456&address.1=ztestsapling10yy2ex5dcqkclhc7z7yrnjq2z6feyjad56ptwlfgmy77dmaqqrl9gyhprdx59qgmsnyfska2kez&amount.1=0.789&memo.1=VGhpcyBpcyBhIHVuaWNvZGUgbWVtbyDinKjwn6aE8J-PhvCfjok A valid payment request with one transparent and one shielded recipient address, -with encoded JSON and Unicode memos. +with an encoded Unicode memo for the shielded recipient. Invalid Examples ~~~~~~~~~~~~~~~~