a429aa3e68
If wallet size decreases, we need to remove trailing garbage if it exists. This can happen when removing account or reading pretty-printed wallet. It doesn't affect our CLI (we decode only file prefix), but it is nice to always have a valid JSON file. Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru> |
||
---|---|---|
.. | ||
testdata | ||
account.go | ||
account_test.go | ||
regenerate_test.go | ||
token.go | ||
token_test.go | ||
wallet.go | ||
wallet_test.go |