Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

[Wallet is full] When join wallet more than once? #767

Open
hoangmobi opened this issue Feb 26, 2018 · 6 comments
Open

[Wallet is full] When join wallet more than once? #767

hoangmobi opened this issue Feb 26, 2018 · 6 comments

Comments

@hoangmobi
Copy link

I created a wallet, but I don't join this more than once. The wallet response {"code":"WALLET_FULL","message":"Wallet full"}

@vuquangkhtn
Copy link

i have same problem

@matiu
Copy link
Collaborator

matiu commented Mar 28, 2018 via email

@hoangmobi
Copy link
Author

I solved the problem @matiu @vuquangkhtn

@vuquangkhtn
Copy link

can you show us solution? @hoangmobi

@vuquangkhtn
Copy link

vuquangkhtn commented Apr 2, 2018

@matiu it happens when i use 'joinWallet' method twice or more

client.joinWallet(secret, "Tomas", {}, function(err, wallet) {
  if (err) {
    console.log('error: ', err);
    return
  };

  console.log('Joined ' + wallet.name + '!');
  fs.writeFileSync('tomas.dat', client.export());


  client.openWallet(function(err, ret) {
    if (err) {
      console.log('error: ', err);
      return
    };
    console.log('\n\n** Wallet Info', ret); //TODO

    console.log('\n\nCreating first address:', ret); //TODO
    if (ret.wallet.status == 'complete') {
      client.createAddress({}, function(err,addr){
        if (err) {
          console.log('error: ', err);
          return;
        };

        console.log('\nReturn:', addr)
      });
    }
  });
});

@redMeis
Copy link

redMeis commented Jun 19, 2018

i have same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@matiu @hoangmobi @vuquangkhtn @redMeis and others