iota.lib.cpp
iota.lib.cpp copied to clipboard
API::Core::attachToTangle recompute TX hashes for local POW
API::Core::attachToTangle: Recompute transaction hashes in bundle after manipulation in the case of local POW.
When using local POW, the creation of bundles was faulty. The transactions were manipulated and the TX hashes were not updated. This lead to invalid bundles.
This solves issue https://github.com/thibault-martinez/iota.lib.cpp/issues/326