Exception raised when you specify negative parking rates

And then the client exits.

I am on v 1.2.0.

1 Like

@cryptog, is this on Windows, Linux, or OS X? We’ll confirm on them all but it will help me submit the bug report. Thanks!

Update:
Here’s the link to the issue that I created for it. If you have additional information—like the segement of your debug.log file from the time around when the crash occurs—we’d appreciate it if you could send it.

https://bitbucket.org/JordanLeePeershares/nubit/issue/205/exception-raised-when-negative-parking

Tks @Ben for the quick reaction.

It is on Win.

Here is the relevant log file section:


EXCEPTION: St13runtime_error
Cannot set invalid vote
C:\Program Files (x86)\Nu\nu.exe in Runaway exception

Updating from data feed https://raw.githubusercontent.com/cryptog/nu_data_feed/master/cryptog_nu_data_feed.json
Received 920 bytes from data feed https://raw.githubusercontent.com/cryptog/nu_data_feed/master/cryptog_nu_data_feed.json:
{
“custodians” : [
],
“parkrates” : [
{
“unit” : “B”,
“rates” : [
{
“blocks” : 2048,
“rate” : 0.0
},
{
“blocks” : 4096,
“rate” : 0.0
},
{
“blocks” : 8192,
“rate” : 0.0
},
{
“blocks” : 16384,
“rate” : 0.0
},
{
“blocks” : 32768,
“rate” : 0.0
},
{
“blocks” : 65536,
“rate” : 0.0
},
{
“blocks” : 131072,
“rate” : 0.0
}
]
}
],
“motions” : [
]
}

Received 89 bytes from data feed https://raw.githubusercontent.com/cryptog/nu_data_feed/master/cryptog_nu_data_feed.json.signature:
IDHyhu+3rzHjJJGogxH6ZFtyF5n6mDXEakOoXPS4IbRMCO5iY2vPk7C1xXTbz06VeuNzIIm2UJLKmSQ1Tsnl35E=

Vote updated from data feed
accepted liquidity info from BMuti7RC4P6htnka8FuBXSoppngYXBdVbL