Skip to content

Commit

Permalink
walletkit_client: add P2TR input type to ListUnspent
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Jun 9, 2022
1 parent a506f7a commit ec72d72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions walletkit_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ func (m *walletKitClient) ListUnspent(ctx context.Context, minConfs,
addrType = lnwallet.WitnessPubKey
case lnrpc.AddressType_NESTED_PUBKEY_HASH:
addrType = lnwallet.NestedWitnessPubKey
case lnrpc.AddressType_TAPROOT_PUBKEY:
addrType = lnwallet.TaprootPubkey
default:
return nil, fmt.Errorf("invalid utxo address type %v",
utxo.AddressType)
Expand Down

0 comments on commit ec72d72

Please sign in to comment.