From cb075bd70743f0d93a9b823dad1d2f415d15789d Mon Sep 17 00:00:00 2001 From: Chris Stewart Date: Wed, 12 Mar 2025 09:01:45 -0500 Subject: [PATCH] core: Add TxSigComponent.spendingOutputs --- .../main/scala/org/bitcoins/core/crypto/TxSigComponent.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala b/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala index 204ef3bdff..5a87db3f54 100644 --- a/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala +++ b/core/src/main/scala/org/bitcoins/core/crypto/TxSigComponent.scala @@ -48,6 +48,9 @@ sealed abstract class TxSigComponent { * for Bitcoin */ def sigVersion: SignatureVersion + + /** Where we we are spending money to */ + def spendingOutputs: Vector[TransactionOutput] = transaction.outputs } object TxSigComponent {