Possible bug fix for inserting transaction in skyTrade