update peer model

This commit is contained in:
mr
2026-01-29 13:12:15 +01:00
parent 97cf629e27
commit c1519f6b26
3 changed files with 11 additions and 7 deletions

View File

@@ -48,7 +48,8 @@ func (m *MockAccessor) Search(filters *dbs.Filters, search string, isDraft bool)
func newTestPeer() *peer.Peer {
return &peer.Peer{
Url: "http://localhost",
StreamHost: "127.0.0.1",
APIUrl: "http://localhost",
WalletAddress: "0x123",
PublicKey: "pubkey",
Relation: peer.SELF,