Fix transaction code example