v1.2.2
Added
- Added a
ProposeTxResult
field toInvalidTransactionException
. This field indicates why the
Transaction
was not accepted. MobileCoinTransactionClient.submitTransaction
now returns Consensus block count at submission time.
Changed
- Updated bindings to version 1.2.2
Fixes
OwnedTxOut
s returned through the public API are copied from internalOwnedTxOut
s. This fixes
some issues caused byOwnedTxOut
s being updated after being fetched from the public API.- Fixed default HttpRequester authentication
- Fixed a dependency issue introduced by some project structure changes
Upgrading
No code changes are required to upgrade from 1.2.1 to 1.2.2
- To easily handle various types of transaction failure differently, code such as the following
can be used:switch(invalidTransactionException.getResult())
- To obtain the Consensus block index at the time of
Transaction
submission, check the return
value ofMobileCoinTransactionClient.submitTransaction