File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ Here's a short overview of the interface to give an impression of how it works:
10
10
11
11
``` purescript
12
12
buildTransaction
13
- :: NetworkId
14
- -> Array TransactionBuilderStep
13
+ :: Array TransactionBuilderStep
15
14
-> Either TxBuildError Transaction
16
15
17
16
data TransactionBuilderStep
Original file line number Diff line number Diff line change @@ -331,11 +331,10 @@ explainTxBuildError NoTransactionNetworkId =
331
331
type BuilderM a = StateT Context (Except TxBuildError ) a
332
332
333
333
buildTransaction
334
- :: NetworkId
335
- -> Array TransactionBuilderStep
334
+ :: Array TransactionBuilderStep
336
335
-> Either TxBuildError Transaction
337
- buildTransaction networkId =
338
- modifyTransaction ( Transaction .empty # _body <<< _networkId .~ Just networkId)
336
+ buildTransaction =
337
+ modifyTransaction Transaction .empty
339
338
340
339
modifyTransaction
341
340
:: Transaction
You can’t perform that action at this time.
0 commit comments