func getAccountKey(account *account.Account) []byte {
	return account.TraderKey.PubKey.SerializeCompressed()
}
getAccountKey returns the key for an account which is not partial.
package clientdb
import (
	"bytes"
	"errors"
	"io"
	"github.com/btcsuite/btcd/btcec"
	"github.com/lightninglabs/pool/account"
	"go.etcd.io/bbolt"
)
var (
	accountBucketKey = []byte("account")
	ErrAccountNotFound = errors.New("account not found")
)