Open paul-schaaf opened 2 years ago
This would be great, but I don't think that's going to work because the seeds
slice is not mutable and the runtime api requires all the seeds to be together.
Also the inconsistency is reduced once we do https://github.com/project-serum/anchor/issues/1039
In the accounts struct, we separate the normal seeds and the bump seed.
How about we adjust
new_with_signer
to take a structto keep the API consistent