|
@@ -203,6 +203,7 @@ export class BankClient {
|
|
|
method: 'PUT',
|
|
method: 'PUT',
|
|
|
url: topicURL
|
|
url: topicURL
|
|
|
});
|
|
});
|
|
|
|
|
+ console.log('appended to ', peerAddr, topic, hash, replaceHash, deleteHash, result);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public async retrievePrivate(peerAddr: string, topic: string) {
|
|
public async retrievePrivate(peerAddr: string, topic: string) {
|
|
@@ -237,6 +238,7 @@ export class BankClient {
|
|
|
if (existing != null) {
|
|
if (existing != null) {
|
|
|
return existing;
|
|
return existing;
|
|
|
}
|
|
}
|
|
|
|
|
+ console.log('creating new contact', peerId, addressType, addressValue);
|
|
|
return await this.createContact(peerId, addressType, addressValue);
|
|
return await this.createContact(peerId, addressType, addressValue);
|
|
|
}
|
|
}
|
|
|
|
|
|