iron-fish / ironfish

A novel cryptocurrency focused on privacy and accessibility.
https://ironfish.network
Mozilla Public License 2.0
964 stars 579 forks source link

Move transactions outside of options #5104

Closed NullSoldier closed 2 days ago

NullSoldier commented 3 days ago

Summary

If we keep the DB transaction outside of options objects to the end, starting transactions becomes cleaner. Most places already do this.

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API Reference)? If yes, link a related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes