zcash_client_backend: Fix missing bound
In 47a0d0d2b7
`WalletWriteTransparent` was
merged into `WalletWrite`, including its associated type `UtxoRef`.
However, `shield_transparent_funds` placed a bound on this associated
type that was not moved to `WalletWrite`. This left the generic
parameter `U` unconstrained, which didn't cause a local failure because
the method has no local tests, but was immediately apparent when trying
to use the method in the mobile SDKs.
This commit is contained in:
parent
5301b9c9d3
commit
b3dc323876
|
@ -447,7 +447,7 @@ where
|
|||
E: From<Error<N>>,
|
||||
P: consensus::Parameters,
|
||||
R: Copy + Debug,
|
||||
D: WalletWrite<Error = E, TxRef = R>,
|
||||
D: WalletWrite<Error = E, TxRef = R, UtxoRef = U>,
|
||||
{
|
||||
let account = wallet_db
|
||||
.get_account_for_ufvk(&usk.to_unified_full_viewing_key())?
|
||||
|
|
Loading…
Reference in New Issue