diff --git a/sdk-lib/src/main/rust/lib.rs b/sdk-lib/src/main/rust/lib.rs
index 936ced23..be44e7a7 100644
--- a/sdk-lib/src/main/rust/lib.rs
+++ b/sdk-lib/src/main/rust/lib.rs
@@ -255,7 +255,7 @@ pub unsafe extern "C" fn Java_cash_z_ecc_android_sdk_tool_DerivationTool_deriveU
let account_index = if account_index >= 0 {
account_index as u32
} else {
- return Err(format_err!("accountIndex argument must be positive"));
+ return Err(format_err!("accountIndex argument must be nonnegative"));
};
let account_id = AccountId::from(account_index);
@@ -540,7 +540,7 @@ pub unsafe extern "C" fn Java_cash_z_ecc_android_sdk_jni_RustBackend_getVerified
.iter()
.map(|utxo| utxo.txout.value)
.sum::