stellar / js-stellar-base

The lowest-level stellar helper library. It consists of classes to read, write, hash, and sign Stellar xdr
https://stellar.github.io/js-stellar-base/
Apache License 2.0
106 stars 138 forks source link

added clearing and adding operations at a specified index #757

Closed JuanRdBO closed 2 months ago

JuanRdBO commented 2 months ago

Summary of changes

Use Case

I wanted to add them because I was trying to change the amount of one operations after cloning and realized it would that much easier if I could just clear an operation at a specified index and then add it add the updated operation at the same index again.

Shaptic commented 2 months ago

Can you run (and commit) yarn fmt? Linter is complaining.