input: add anchor witness type

This commit is contained in:
Joost Jager committed 2020-03-17 16:25:35 +01:00
1 parent dd77d9263e
commit c376cdb733
6 files changed
+155 -67

No files matched your search

+2
View File
@@ -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)