Skip to content

Commit

Permalink
added notes to the BRCreateTransactionOutputs
Browse files Browse the repository at this point in the history
Signed-off-by: kcw-grunt <[email protected]>
  • Loading branch information
kcw-grunt committed Jan 7, 2024
1 parent 44b3f9c commit b006f64
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions BRWallet.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,11 @@ BRTransaction *BRWalletCreateTransaction(BRWallet *wallet, uint64_t amount, cons
return BRWalletCreateTxForOutputs(wallet, &o, 1);
}

// returns an unsigned transaction that satisifes the given transaction outputs
// result must be freed by calling BRTransactionFree()
/// Description:
/// returns an unsigned transaction that satisifes the given transaction outputs
/// result must be freed by calling BRTransactionFree()
/// Parameters
/// returns Transaction
BRTransaction *BRWalletCreateTxForOutputs(BRWallet *wallet, const BRTxOutput outputs[], size_t outCount)
{
BRTransaction *tx, *transaction = BRTransactionNew();
Expand Down

0 comments on commit b006f64

Please sign in to comment.