I am doing some benchmarking to compare the performance of LNDs pathfinding against custom methods. For the sake of reproducibility, it is necessary to export the initial state of mission control so that it can be reimported into LND between trials.
However, when I go to import the pairs from a QueryMissionControlResponse using XImportMissionControl, I get an error. I believe this is because PairHistory concerning failure does not always have an amount, so it can't be imported.
Background
I am doing some benchmarking to compare the performance of LNDs pathfinding against custom methods. For the sake of reproducibility, it is necessary to export the initial state of mission control so that it can be reimported into LND between trials. However, when I go to import the pairs from a QueryMissionControlResponse using XImportMissionControl, I get an error. I believe this is because PairHistory concerning failure does not always have an amount, so it can't be imported.
Example:
Your environment
lnd
: 0.16.4-betaSteps to reproduce
Export PairHistory using QueryMissionControl. Import PairHistory using XImportMissionControl.
Expected behaviour
Importing PairHistory list directly from QueryMissionControl without error.
Actual behaviour
Cannot import.
Error: