The CashFusion code catches these issues via the `ecdsa` lib,Raise a custom error for points not on the curve. Support a special *point a inifinity* value for `ECPubkey` (will be needed in the next diff for Cash Fusion code)
This is a backport of https://github.com/spesmilo/electrum/commit/59c1d03f018026ac301c4e74facfc64da8ae4708
Additional tests from:
so we will need this to replace some `ecdsa.Point` instances with `ECPubkey` in fusion code while still catching the same exceptions.- electrumabc_plugins/fusion/tests/test_pedersen.py
Depends on D16676