input: add anchor witness type
This commit is contained in:
6 files changed
+155
-67
No files matched your search
@@ -390,6 +390,8 @@ func (w *WalletKit) PendingSweeps(ctx context.Context,
|
||||
witnessType = WitnessType_WITNESS_KEY_HASH
|
||||
case input.NestedWitnessKeyHash:
|
||||
witnessType = WitnessType_NESTED_WITNESS_KEY_HASH
|
||||
case input.CommitmentAnchor:
|
||||
witnessType = WitnessType_COMMITMENT_ANCHOR
|
||||
default:
|
||||
log.Warnf("Unhandled witness type %v for input %v",
|
||||
pendingInput.WitnessType, pendingInput.OutPoint)
|
||||
|
||||
Reference in new issue
Block a user