Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The test was meant to ensure the signature covered the 'tokens' field, but then when the 'plan' field was rolled in, Transaction::verify() started failing because Plan::verify() failed. When Transaction::verify() was split into two, the unexpected failure was exposed but went unnoticed. This patch brings it back to its original intent, to ensure signature verification fails if the network attempts to change the client's payment.
- Loading branch information