Skip to content

Commit

Permalink
docs: explain the code structure of a method
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed May 21, 2024
1 parent 1c3841c commit 3ce08a8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class TransactionBuilder {
/// i.e. the remaining change is too small to cover for extra fee that such
/// extra output would generate then the transaction fee is increased to burn
/// any remaining change.
///
/// Follows code style of Cardano Multiplatform Lib to make patching easy.
TransactionBuilder withChangeAddressIfNeeded(ShelleyAddress address) {
if (this.fee != null) {
// generating the change output involves changing the fee
Expand Down

0 comments on commit 3ce08a8

Please sign in to comment.