RequestNetwork / docs.request.network

Request Network documentation
https://docs.request.network
1 stars 4 forks source link

Payment Reference formula is unclear and misleading #61

Closed MantisClone closed 2 days ago

MantisClone commented 4 days ago

Problem

The paymentReference formula in the docs is incorrect - it uses paymentInfo instead of payment recipient address.

Docs show: last8Bytes(hash(lowercase(requestId + salt + info))) Likely copied from the Declarative Payment spec.

Solution

Should be: last8Bytes(hash(lowercase(requestId + salt + address)))

MantisClone commented 4 days ago

CR #98

MantisClone commented 2 days ago

Fixed in 06a655256588c15cc04156fed04c5c4c2a163634