# Local replica of Ledger canister throwing "insufficient funds" error even though the canister has funds

**URL:** <https://forum.dfinity.org/t/local-replica-of-ledger-canister-throwing-insufficient-funds-error-even-though-the-canister-has-funds/10700>\
**Category:** Developers\
**Created:** [February 4, 2022, 8:40pm UTC](https://forum.dfinity.org/t/local-replica-of-ledger-canister-throwing-insufficient-funds-error-even-though-the-canister-has-funds/10700 "2022-02-04T20:40:36Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![jamesbeadle](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jamesbeadle/32/10110_2.png) [@jamesbeadle](https://forum.dfinity.org/u/jamesbeadle)\
**Post date:** [April 9, 2023, 6:39pm UTC](https://forum.dfinity.org/t/local-replica-of-ledger-canister-throwing-insufficient-funds-error-even-though-the-canister-has-funds/10700/12 "2023-04-09T18:39:30Z")

</div>

Ok I now have the functionality I need, I just convert the wallet address to a blob using:

> [@Converting blobs from candid response to hex](https://forum.dfinity.org/t/converting-blobs-from-candid-response-to-hex/13310):
>
> I’m getting back opt blob "\1ah\fb^\13\ea;\13\ed\d5\8f\9b\e3r\cc\cfS\f9\09t\b1d\f1\e2\1c\14\a8\a4\18R\96\86" from query\_blocks for a parent hash. How do I convert that to hex?

---

_[View the full topic](https://forum.dfinity.org/t/local-replica-of-ledger-canister-throwing-insufficient-funds-error-even-though-the-canister-has-funds/10700)._
