commit d412cd78b0a10d3c1ce77ee5347c9847044ab10b
Author: Stephen Blackheath docks.cattlemen.stephen@blacksapphire.com
Date: Thu Aug 18 15:02:05 2016 +1200
Fix a problem where a test case wasn't able to catch a std::runtime_error
that was thrown inside Sodium.
The issue was that closing of transactions is normally done inside the
destructor of 'transaction'. Fixed by calling transaction.close() explicitly
just prior to destruction of the transaction.
Throwing exceptions inside a destructor? Not cool.