onlynet=onion doesn't work for pruned node. Even after waiting for few minutes couldn't see any peers. Initially I thought it must be an issue because less onion nodes on testnet but it works fine for non-pruned node.
Expected behavior
Onion peers
Actual behavior
No peers
To reproduce
Node A (pruned) with bitcoin.conf:
testnet=1
prune=1024
onlynet=onion
Node B (non-pruned) with bitcoin.conf:
testnet=1
txindex=1
onlynet=onion
System information
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
- Master Branch
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
- Pop!_OS
<!-- Any extra information that might be useful in the debugging process. -->
Peers for Node B:

Peers for Node A:
$ bitcoin-cli getpeerinfo
[
]
Is this a bug or expected behavior and I am missing something?
