question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deposit error if balance is less than 2.5 $IRON

See original GitHub issue

What happened?

Hardware: CPU: 4 core AMD EPYC 7282 RAM: 8 Gb OS: Ubuntu 20.04

Steps to reproduce:

  1. Balance is needed to be less than 2.5 $IRON (e.g. 2.2 $IRON)
  2. Use command ironfish deposit

Result: An error occurred while sending the transaction. › Error: Request failed (400) insufficient-balance: Your balance is too low. Add funds to your account first

Expected result: Successful transaction, balance decreased by 0.5 $IRON + fee ($IRON 0.00000008)

Version

0.1.51 @ 67da183

Debug output

Iron Fish version               0.1.51 @ 67da183
Iron Fish library               0.0.28 @ 67da183
Operating system                Linux x64
CPU model(s)                    AMD EPYC 7282 16-Core Processor
CPU threads                     4
RAM total                       7.77 GiB
Heap total                      2.01 GiB
Node version                    v16.17.0
ironfish in PATH                true
Garbage Collector Exposed       false
Telemetry enabled               true
Node name                       mml_node
Block graffiti                  mml_node

Relevant log output

root@vmi881185:~# ironfish deposit

Your balance is $IRON 2.20925487.

You are about to send $IRON 0.50000000 plus a transaction fee of $IRON 0.00000008 to the Iron Fish deposit account.
Your remaining balance after this transaction will be $IRON 1.70925479.
The memo will contain the graffiti "mml_node".

* This action is NOT reversible *

Do you confirm (Y/N)?: y
Creating the transaction: [████████████████████████████████████████] 100% | ETA: 0s
An error occurred while sending the transaction.
 ›   Error: Request failed (400) insufficient-balance: Your balance is too low. Add funds to your account first

Graffiti

mml_node

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
justmmlcommented, Nov 20, 2022

After updating to 0.1.53 I used command ironfish accounts:repair and now my balance is correct. If it’ll be a trouble with transaction - I’ll add a comment to this issue

1reaction
hughycommented, Nov 17, 2022

I think your account may have been affected by a bug addressed in #2595

The bug results in the balance showing a value that is higher than your actual balance on the chain. We’re working on getting a fix out soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

Direct Deposit Errors
It appears that an employer who direct deposits the wrong amount in an employee bank account can reverse and correct the transaction without ......
Read more >
30.7 Correction of an error - Viewpoint – PwC
The “iron curtain” method assesses income statement errors based on the amount by which the income statement would be misstated if the ...
Read more >
What to Do if There Is a Bank Error in Your Favor - Experian
If you discover a bank error in your favor, don't touch the money. Instead, report it to the bank right away and monitor...
Read more >
Can the Bank Make Deposits to the Wrong Account?
If a bank accidentally deposits money into your account, you cannot spend it, or you will be responsible for paying it back.
Read more >
Bank Error in Your Favor? But ... Can You Keep the Cash?
It sounds like a dream: Checking your bank balance to find it higher, much higher, than it should be. But it can —...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found