Closed MantisClone closed 2 days ago
The paymentReference formula in the docs is incorrect - it uses paymentInfo instead of payment recipient address.
paymentInfo
address
Docs show: last8Bytes(hash(lowercase(requestId + salt + info))) Likely copied from the Declarative Payment spec.
last8Bytes(hash(lowercase(requestId + salt + info)))
Should be: last8Bytes(hash(lowercase(requestId + salt + address)))
last8Bytes(hash(lowercase(requestId + salt + address)))
CR #98
Fixed in 06a655256588c15cc04156fed04c5c4c2a163634
Problem
The paymentReference formula in the docs is incorrect - it uses
paymentInfo
instead of payment recipientaddress
.Docs show:
last8Bytes(hash(lowercase(requestId + salt + info)))
Likely copied from the Declarative Payment spec.Solution
Should be:
last8Bytes(hash(lowercase(requestId + salt + address)))