Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[send_payment] panic: assertion failed: current.fail_time == 0 || current.success_amount <= current.fail_amount #436

Open
gpBlockchain opened this issue Jan 2, 2025 · 0 comments

Comments

@gpBlockchain
Copy link
Contributor

  1. open_channel(node1,node2)
  2. open_channel(node2,node3)
  3. node1.send_payment(node3,1*100000000)
  4. time.sleep(5)
  5. node1.send_payment(node3,1) -> return Failed to build route
  6. node3.send_payment(node1,1)
  7. time.sleep(5)
  8. node1.send_payment(node3,1)-> panic

  2025-01-02T06:18:28.866955Z DEBUG fnn::fiber::channel: Updated local balance to 43699899998 and remote balance to 100100002 by removing tlc Offered(2) with reason RemoveTlcFulfill(RemoveTlcFulfill { payment_preimage: Hash256(0x7a9f76910e9ee976420c7c9339ba9eb11fa32929d53c9a9634d1d718ab5fcdb9) })
    at src/fiber/channel.rs:4351
    in ractor::actor::Actor with id: "0.8", name: "Channel-0 QmPgea8xr8shruKxkVgh5thWj2NG7XnUmgEeamoafviYwR <-> QmduitaXX4zjUACiQNFHLS4FKVv5D7gXq5gk1U8VwhaeiH"

thread 'tokio-runtime-worker' panicked at /Users/guopenglin/demo/tmp/fiber/src/fiber/history.rs:391:13:
assertion failed: current.fail_time == 0 || current.success_amount <= current.fail_amount
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

node.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant