Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: insufficient funds?  (Read 1685 times)

0 Members and 1 Guest are viewing this topic.

Offline blahblah7up

  • Full Member
  • ***
  • Posts: 189
    • View Profile
insufficient funds?
« on: November 02, 2014, 08:39:18 PM »

I have a wallet with two accounts in it.  One account is registered on the blockchain and the other I just imported using a Wif private key - it is not registered on the blockchain.  The imported account has exactly 0.2 BTSX in it (I am testing cold storage ::)).  I am now trying to send 0.1 BTSX to the account in my wallet which is registered on the blockchain and I am getting the error "insufficient funds".  The wallet is set with a transaction fee of 0.1 BTSX.

Can anyone see where I am going wrong here?

Another question: With a NON-registered account, how do you send fund to a BTSX address?  Do you always have to create a new contact and use an account_name or is there a field somewhere where you can enter the whole public key? 

Offline blahblah7up

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Re: insufficient funds?
« Reply #1 on: November 02, 2014, 09:56:01 PM »
Answering my own post here.....
It seems it is impossible to completely empty a wallet?  Or perhaps there are rounding errors?

Changing the transaction to 0.09 BTSX instead of 0.1 BTSX and thus leaving 0.01 BTSX in the wallet after the transaction fee, allowed the transaction to go through.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: insufficient funds?
« Reply #2 on: November 02, 2014, 10:10:00 PM »
That is odd .. I recently emptied an account successfully .. strange
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline vikram

Re: insufficient funds?
« Reply #3 on: November 04, 2014, 08:50:38 PM »
If I understand your explanation correctly; it seems that this should work. I have made a note about it: https://github.com/BitShares/bitshares/issues/916

Currently you must always add an address as a local account before sending funds to it. There will be a command to send directly to an address in the future, but such a change has been stuck in low priority.

Offline theoretical

Re: insufficient funds?
« Reply #4 on: November 04, 2014, 09:49:14 PM »

Correction, you don't add the address, you add the public key with wallet_add_contact_account.
BTS- theoretical / PTS- PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z / BTC- 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY / the delegate formerly known as drltc / Nothing said on these forums is intended to be legally binding / All opinions are my own unless otherwise noted / Take action due to my posts at your own risk

 

Google+