some bugs are caused by this.
>>> short 184467440737usd
price (usd/bts): 184467440737
current balance: 33134.12286383 bts
required collateral: 10.00000000 bts
submit order? (y|n): y
>>> buy 184467440737usd
price per usd (ie: 1 usd): 0.00000001bts
current balance: 33134.12286383 bts
total price: 1844.67440736 bts
submit order? (y|n): y
>>> mine
>>> market bts usd
unspecified
overflow 10.00000000 bts * 184467440736.9999974400000 usd/bts
{"a":"10.00000000 bts","p":"184467440736.9999974400000 usd/bts"}
th_a asset.cpp:269 operator*
type mismatch multiplying asset 10.00000000 bts by price 184467440736.9999974400000 usd/bts
{"a":"10.00000000 bts","p":"184467440736.9999974400000 usd/bts"}
th_a asset.cpp:307 operator*
>>> buy 100usd
price per usd (ie: 1 usd): 0.01bts
current balance: 35634.12286383 bts
total price: 1.00000000 bts
submit order? (y|n): y
order submitted
>>> mine
unspecified
overflow 1.00000000 bts * 184467440736.9999974400000 usd/bts
{"a":"1.00000000 bts","p":"184467440736.9999974400000 usd/bts"}
th_a asset.cpp:269 operator*
type mismatch multiplying asset 1.00000000 bts by price 184467440736.9999974400000 usd/bts
{"a":"1.00000000 bts","p":"184467440736.9999974400000 usd/bts"}
th_a asset.cpp:307 operator*
{"quote":"usd","base":"bts"}
th_a blockchain_db.cpp:756 match_orders
{}
th_a blockchain_db.cpp:1149 match_orders
error generating new block
{}
th_a blockchain_db.cpp:1319 generate_next_block