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.

Cannot Rebalance without msatoshi argument

See original GitHub issue

I would like to rebalance my channels 50/50 which should work if I do not provide the msatoshi argument. Looks like msatoshi should be a whole number and not have a decimal point.

"Error while processing rebalance: 
RpcError('RPC call failed: method: invoice, payload: 
{
\\'msatoshi\\' : 8388607500.0msat, 
\\'label\\': \\'Rebalance-23a20dc6-356f-423e-8a0c-6a835a061847\\', 
\\'description\\ ': \\'1516934x52x0 to 1517537x39x0\\', 
\\'expiry\\': 120
}, 
error: {
\\'code\\': -32602, 
\\'message\\': \ "\\'msatoshi\\' should be millisatoshis or \\'any\\', not \\'8388607500.0msat\\'\"
}',)"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
m-schmoockcommented, May 22, 2019

Thanks. I will include this in a bigger cleanup/refinment PR im working on.

1reaction
m-schmoockcommented, May 20, 2019

@agnjkafgh Can you test if this fix helps? https://github.com/lightningd/plugins/pull/30

I think it is cause by an outdated pylightning version, but not sure since I cant reproduce this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should You Or Shouldn't You Rebalance Your Investment ...
The specific asset allocation is based on your risk tolerance. As stocks appreciate in value, your investment portfolio is no longer in sync ......
Read more >
5 mistakes to avoid when rebalancing a portfolio - CNBC
Experts say a mix of asset classes is key to juggling risk and reward for the best long-term results, but it may be...
Read more >
Jack Bogle: "Never" Rebalance Your Investment Portfolio (and ...
Your browser can't play this video. ... the founder of Vanguard, argued that one should not rebalance their investment portfolio.
Read more >
Experts tell you why you cannot avoid Rebalancing
Rebalancing helps you reduce risk without compromising on your savings goals. Here are some insights. Scott Keeley, senior financial adviser ...
Read more >
Rebalancing...Not so Fast - - Alpha Architect
Modern Portfolio Theory initially argued that investors should hold various leveraged or de-leveraged positions in the so-called market ...
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