Skip to content

Commit

Permalink
Merge pull request #161 from avianlabs/guillermo/add-transaction-newb…
Browse files Browse the repository at this point in the history
…uilder

add Transaction.newBuilder()
  • Loading branch information
wiyarmir authored Nov 14, 2024
2 parents dbb414f + 0d3fdd0 commit 9d4cc70
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public open class Transaction internal constructor(

override fun toString(): String = "Transaction(message=$message)"

public fun newBuilder(): Builder = Builder(message.newBuilder())

public class Builder internal constructor(
private var messageBuilder: Message.Builder,
) {
Expand Down

0 comments on commit 9d4cc70

Please sign in to comment.