This commit is contained in:
Ivan Socolsky 2014-09-12 10:40:47 -03:00
commit 81a73e6f2a
5 changed files with 51 additions and 12 deletions

View file

@ -23,6 +23,7 @@ var FakeWallet = function() {
'1CjPR7Z5ZSyWk6WtXvSFgkptmpoi4UM9BC': 1000
};
this.name = 'myTESTwullet';
this.nickname = 'myNickname';
this.addressBook = {
'2NFR2kzH9NUdp8vsXTB4wWQtTtzhpKxsyoJ': {
label: 'John',
@ -86,6 +87,10 @@ FakeWallet.prototype.getAddressesInfo = function() {
FakeWallet.prototype.subscribeToAddresses = function() {};
FakeWallet.prototype.getMyCopayerNickname = function() {
return this.nickname;
};
FakeWallet.prototype.isShared = function() {
return this.totalCopayers > 1;
}