add more test coverage for Wallet
This commit is contained in:
parent
13a9eebd9d
commit
70d95b6f68
3 changed files with 47 additions and 2 deletions
|
|
@ -387,10 +387,12 @@ Wallet.prototype.sendWalletId = function(recipients) {
|
|||
|
||||
Wallet.prototype.sendPublicKeyRing = function(recipients) {
|
||||
this.log('### SENDING publicKeyRing TO:', recipients || 'All', this.publicKeyRing.toObj());
|
||||
var publicKeyRing = this.publicKeyRing.toObj();
|
||||
delete publicKeyRing.publicKeysCache; // exclude publicKeysCache from network obj
|
||||
|
||||
this.network.send(recipients, {
|
||||
type: 'publicKeyRing',
|
||||
publicKeyRing: this.publicKeyRing.toObj(),
|
||||
publicKeyRing: publicKeyRing,
|
||||
walletId: this.id,
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue