BitShares Forum

Main => Technical Support => Topic started by: monsterer on October 28, 2015, 04:30:56 pm

Title: [WARNING] reserve_asset called on a UIA will attempt to reduce your BTS balance!
Post by: monsterer on October 28, 2015, 04:30:56 pm
If you manage to work around the incorrect documentation for reserve_asset and get it to run, it will attempt to reduce your BTS balance instead of the UIA you pass to it!

Code: [Select]
unlocked >>> reserve_asset gatewaytest ABCDEF 100000000 true
reserve_asset gatewaytest ABCDEF 100000000 true
1452531ms th_a       wallet.cpp:1851               sign_transaction     ] Caught exception while broadcasting tx 5993cdf3fa64f85fbbb
2faa7d7ed14f52a9e8869:  0 exception: unspecified
10 assert_exception: Assert Exception
itr->get_balance() >= -delta: Insufficient Balance: gatewaytest's balance of 744.55657 BTS is less than required 100000000 BTS

If I had 100,000,000 BTS, I would have just lost it!!

https://github.com/cryptonomex/graphene/issues/398