Code assumes that user empties the keys in the path variable.
While writing generic code, it is difficult to empty keys.
And, fdn_keys/fup_keys is not called for keys that are emptied. They are called for all keys.
So, better to change the logic of the code.
|
inject_keys_int({}, [FirstKey|RemainingKeySet]) -> |
I have done the required changes via the pull request : #7
Code assumes that user empties the keys in the path variable.
While writing generic code, it is difficult to empty keys.
And, fdn_keys/fup_keys is not called for keys that are emptied. They are called for all keys.
So, better to change the logic of the code.
genet/src/erlang-lib/ec_genet/src/ec_genet_server.erl
Line 781 in 55315c5
I have done the required changes via the pull request : #7