Set default error type for SignOrCreationError for bindings
authorMatt Corallo <git@bluematt.me>
Fri, 30 Apr 2021 18:45:51 +0000 (18:45 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 30 Apr 2021 19:00:50 +0000 (19:00 +0000)
commit246493f30002a05684d98c4fbe59498987e7dea0
treee67a4760171a367af9b35553129bcd7518dff1c5
parente26c3df71a4fa8fd6220cd10d068525ebff63783
Set default error type for SignOrCreationError for bindings

The C bindings generator now looks to default generic types as the
way to map a struct or enum parameter. Because SignOrCreationError
is only used directly with an error type of `()`, we set that to
the default and assume no other error types are needed.
lightning-invoice/src/lib.rs