Fix: Autoshielding OBO error.

The ANCHOR_OFFSET is already accounted for in the underlying rust code so this simple change prevents adding additional confirmation blocks. In the next iteration we may want to adjust the logic in librustzcash to not accept a confirmation parameter for the shielding function or at least improve the way it works:
https://github.com/nuttycom/librustzcash/blob/autoshield-poc-daa/zcash_client_backend/src/data_api/wallet.rs#L353
This commit is contained in:
Kevin Gorham 2021-07-29 13:16:57 -04:00
parent 273f391c5f
commit ed501304a3
No known key found for this signature in database
GPG Key ID: CCA55602DF49FC38
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ pub unsafe extern "C" fn Java_cash_z_ecc_android_sdk_jni_RustBackend_shieldToAdd
&sk,
&extsk,
&MemoBytes::from(&memo),
10
0
)
.map_err(|e| format_err!("Error while shielding transaction: {}", e))
});