crown-cli sendtoaddress tries to instantsend even when the amount is too large
Summary
crown-cli sendtoaddress failed because it tried to use instantsend for an amount >10k
Steps to reproduce
crown-cli sendtoaddress xxx 10005
Expected behavior
Normal send should be used and should succeed if the wallet has sufficient funds
Problematic behavior
error: {"code":-4,"message":"Transaction too large"}
Crown-core environment info
MX 17.1 linux
Crown-core application info
Crown version v0.12.7.1-959b5766 pipeline 887
Relevant logs, dumps and/or screenshots
2019-01-30 02:17:52 keypool added key 1126, size=1001
2019-01-30 02:17:52 init message: Loading wallet... (112.49 %)
2019-01-30 02:17:54 InstantX doesn't support sending values that high yet. Transactions are currently limited to 10000 CRW.keypool reserve 126
2019-01-30 02:18:11 InstantX doesn't support sending values that high yet. Transactions are currently limited to 10000 CRW.SendMoney() : Transaction too large
2019-01-30 02:18:11 keypool return 126
Drop full logs & dumps here: https://nextcloud.crown.tech/nextcloud/s/znd8HiiAsRX3C6B
Possible fixes
(Any comments on what you think might be responsible for the problem, if you have particular insight.)
/cc @artem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information