go-nitro
go-nitro copied to clipboard
API inconsistency between `CreateVirtual` and `Pay`
- CreateVirtual accepts a full
outcome.Exittype (a rich type that supports multiple assets, metadata and so on) Payonly accepts a singleuint64.- Right now,
go-nitroonly supports the native token.
Suggested fix: use a *big.Int in all API methods until such time that full outcome.Exits are supported in go-nitro.