func (a *managedAddress) PubKey() []byte {
	return a.pubKey
}
PubKey returns the public key associated with the address.

This is part of the ManagedPubKeyAddress interface implementation.
package udb
import (
	"github.com/decred/dcrd/dcrutil/v4"
	"github.com/decred/dcrd/txscript/v4/stdaddr"
)
type ManagedAddress interface {
	Account() uint32
	Address() stdaddr.Address
	AddrHash() []byte
	Imported() bool
	Internal() bool
	Multisig() bool
}
type ManagedPubKeyAddress interface {
	ManagedAddress
	PubKey() []byte
	Index() uint32
}
type ManagedScriptAddress interface {
	ManagedAddress
	RedeemScript() (uint16, []byte)
}
type managedAddress struct {
	manager  *Manager
	account  uint32
	address  *stdaddr.AddressPubKeyHashEcdsaSecp256k1V0
	imported bool
	internal bool
	multisig bool
	pubKey   []byte
	index    uint32
}
var _ ManagedPubKeyAddress = (*managedAddress)(nil)
func (a *managedAddress) Account() uint32 {
	return a.account
}
func (a *managedAddress) Address() stdaddr.Address {
	return a.address
}
func (a *managedAddress) AddrHash() []byte {
	return a.address.Hash160()[:]
}
func (a *managedAddress) Imported() bool {
	return a.imported
}
func (a *managedAddress) Internal() bool {
	return a.internal
}
func (a *managedAddress) Multisig() bool {
	return a.multisig
}